It's time for some simple geometry fun to start off the new year.
You will be given the perimeter P and the area A of a rectangle. With these two values, calculate the area of the circle that circumscribes this rectangle. This means we're looking for the area of the circle that touches this rectangle only at the four vertices of the rectangle.
Good luck, and Happy 2019!
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
Test if a Number is a Palindrome without using any String Operations
256 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3712 Solvers
-
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
253 Solvers
-
Find last zero for each column
720 Solvers
-
565 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Quite a weird test suite, better to use a consistent tolerance for all the test cases