Question: (Corner point coordinates) Please write a Python code for the following question. PYHON Suppose an n-sided regular polygon is centered at (0,0) with one point

 (Corner point coordinates) Please write a Python code for the following

(Corner point coordinates) Please write a Python code for the following question. PYHON Suppose an n-sided regular polygon is centered at (0,0) with one point at the 3 o'clock position, as shown in the below figure. Write a program that prompts the user to enter the number of the sides, the radius of the bounding circle of a polygon, and displays the coordinates of the corner points on the polygon. An n-sided polygon is centered at (0,0) with one point at the 3 o'clock position. Here is a sample run: Enter the number of the sides: 6 Enter the radius of the bounding circle: 100 The coordinates of the points on the polygon are (100.0,0.0) (50.0,86.6) (50.0,86.6) (100.0,1.22) (50.0,86.6) (50,86.60)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!