Mathematics
Mathematics, 13.10.2020 03:01, miiichiii

(Geometry: area of a regular polygon) A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree (i. e., the polygon is both equilateral and equiangular). The formula for computing the area of a regular polygon is
area = (n * s^2) / (4 * tan(PI / n)
Here, s is the length of a side. Write a program that prompts the user to enter the number of sides and their length of a regular polygon and displays its area.
Sample Run
Enter the number of sides: 5
Enter the side: 6.5
The area of the polygon is 72.69017017488385
ANSWER SHOULD BE IN PYTHON CODING

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 12:30, Usman458
Which expression is equivalent to (9x - 3 1/ + 1 3/8)
Answers: 1
image
Mathematics, 21.06.2019 21:30, VETORRES
Find the volume of the solid obtained by rotating the region enclosed by the curves y=1x and y=7^-x about the x-axis. (use symbolic notation and fractions where needed.) volume =
Answers: 3
image
Mathematics, 21.06.2019 22:40, Crxymia
Present age of man is 45 years, 5 years back his age was 4 times age of his son what is present age of his son?
Answers: 2
image
Mathematics, 22.06.2019 01:30, 24kfjkasklfjl
Use the linear combination method to solve the system of equations. explain each step of your solution. if steps are not explained, you will not receive credit for that step. 2 + 9 = −26 −3 − 7 = 13
Answers: 2
Do you know the correct answer?
(Geometry: area of a regular polygon) A regular polygon is an n-sided polygon in which all sides ar...

Questions in other subjects: