Question: Python (Basic Geometry) A circle of radius, r, has one square just inside it which has all four corners rouching the circle. It has a
(Basic Geometry) A circle of radius, r, has one square just inside it which has all four corners rouching the circle. It has a second square just outsid with all four sides just touching it, as shown in the figure below. Write a program to request the user to enter the radius, r, and then print the sum the areas of the two squares. 2r An example run is given below: Enter radius length in m: 2.2 Sum of Square Areas = 20.57 m (Basic Geometry) A circle of radius, r, has one square just inside it which has all four corners rouching the circle. It has a second square just outsid with all four sides just touching it, as shown in the figure below. Write a program to request the user to enter the radius, r, and then print the sum the areas of the two squares. 2r An example run is given below: Enter radius length in m: 2.2 Sum of Square Areas = 20.57 m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
