Question: In groups of two ( although both students will need to upload the completed ipynb notebook ) . Separately from the exercise submission, calculate the

In groups of two (although both students will need to upload the completed ipynb notebook).
Separately from the exercise submission, calculate the area of an equilateral triangle (base of 10cm, Use an online calculator to find the height) and of a square with a10cm side length.
Read [1] "How to Find the Area of Regular Polygons"
In a group of two, work out the area of a triangle and a square and a pentagon with a side length of 10 cm using the process described in [1]
Design and develop Python code in one cell, that will find and display the area of any regular polygon when the user provides the number of sides and the length of one side (rounded to the nearest cm).
The code will use the following algorithm:
# knowns
# unknowns
# calculations
# precision
# solution statement
The knowns will include the math module so to access tan and radians functions.
Note: = math.tan() must be provided a radian value.
The unknowns are the two user inputs
The calculations are described in [1]
We will arbitrarily set the precision to round the area to one decimal place.
The answer must be displayed with a meaningful solution statement. Why not try adding the Unicode symbol for superscript 2?
Be sure to cite [1] in your code and to include a second cell with the IEEE formatted Works Cited list.
Each group member will include their and their partner's name as a comment in the code, and each will submit their own copy of the ipynb for this exercise.

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!