Question: 4.1 Geometry: regular polygon A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have

4.1 Geometry: 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 nx s S is the length of a side area = 4 x tan the ratuttuio of the circumference of any circle to the diameter of that circle n tan() is the mathematical function tangent() Instructions 1. Analysis: Identify the input(s), process and output(s) for a program that prompts the user to enter the number of sides and their length for a regular polygon and displays its area and perimeter. 2. Design: Create the pseudocode to design the process 3. Implementation: Write the program designed in your pseudocode. Here is a sample of how your program should run: Enter the number of sides: 5 Enter the length of the sides: 6.5 The area of the polygon is 72.69017017488385 The perimeter of the polygon is 32.5 The orange text is typed by the user Please submit the following: 1. Click the Write Submission button and enter a. The input(s) and output(s) you identified b. Your pseudocode 2. The compressed (zipped) folder containing your entire project 3. A captured image of your screen showing your program's output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
