Bro no one is going to help you write a two page report do it yourself are you that lazy?
Answer:
import math
n = int(input("Enter the number of sides: "))
s = float(input("Enter the length of a side: "))
area = (n * s**2) / (4 * math.tan(math.pi/n))
print("The area is: " + str(area))
Explanation:
*The code is in Python.
Import the <u>math</u> to be able to compute the <em>pi</em> and <em>tan</em>
Ask the user to enter the number of sides and the length of a side
Calculate the area using the given formula
Print the area
Answer:Identify your personal goals
Explanation: