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
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers21
Suggested Problems
-
Create a matrix X, where each column is a shifted copy of the vector v
222 Solvers
-
Generate a string like abbcccddddeeeee
275 Solvers
-
Remove entire row and column in the matrix containing the input values
557 Solvers
-
Tony's trick for duplicating an mx1 vector n times
58 Solvers
-
113 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