Question: using python 1. (6 points) Archimedes used the method of exhaustion as a way to compute the area inside a circle by filling the circle
1. (6 points) Archimedes used the method of exhaustion as a way to compute the area inside a circle by filling the circle with a polygon of a greater area and greater number of sides. Write a program that receives the number of sides of the inscribed polygon and calculates the corresponding approximation for pi. Use the mathematics library to estimate the error of the approximation. 2. (6 points) Write a program that receives the number of sides of a polygon and plots it inscribed inside a circle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
