Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

Why is Webers Law a challenge for green marketers? AppendixLO1

Answered: 1 week ago

Question

Comment should this MNE have a global LGBT policy? Why/ why not?

Answered: 1 week ago