subject
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

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 13:00
Barbara's piano instructors house is 7 1/8 miles from her house. after biking for 1 3/4 miles she stops to rest how much longer does she need to bike to reach her instructor's house
Answers: 1
question
Mathematics, 21.06.2019 13:40
How do you use the additive inverse to evaluate an expression that uses subtraction in a full sentence
Answers: 3
question
Mathematics, 21.06.2019 16:30
Pete is making decorations for a dinner party. the instructions tell him to use 9 flowers for a medium-sized decoration. complete each statement to adjust the flowers for different-sized decorations based on these instructions.
Answers: 3
question
Mathematics, 21.06.2019 18:00
The base of a triangle exceeds the height by 7 centimeters. if the area is 400 square centimeters, find the length of the base and the height of the triangle.
Answers: 1
You know the right answer?
(Geometry: area of a regular polygon) A regular polygon is an n-sided polygon in which all sides ar...
Questions
Questions on the website: 13722362