Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 cm Use an online calculator to find the height and of a square with acm side length.
Read "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 cm using the process described in
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
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
Be sure to cite 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started