import matplotlib.pyplot as plt
import numpy as np

# Define the coordinates of the pentagon vertices
pentagon_vertices = np.array([
    [0, 1],
    [np.sqrt(3)/2, 0.5],
    [np.sqrt(3)/2, -0.5],
    [0, -1],
    [-np.sqrt(3)/2, -0.5],
    [-np.sqrt(3)/2, 0.5],
    [0, 1]  # Close the pentagon
])

# Plot the pentagon
plt.plot(pentagon_vertices[:, 0], pentagon_vertices[:, 1], 'b-')

# Add labels and title
plt.xlabel('X-axis')
plt.ylabel('Y-axis')
plt.title('Server Arrangement in the Shape of a Pentagon')

# Set axis limits and aspect ratio
plt.xlim(-1.2, 1.2)
plt.ylim(-1.2, 1.2)
plt.gca().set_aspect('equal', adjustable='box')

# Display the plot
plt.grid(True)
plt.show()