Cody

Problem 45340. Area-05

Solution 2135239

Submitted on 21 Feb 2020 by David Hill
  • Size: 13
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(abs(inscribed_circle_5(100,50)-487.5987)<0.001)

2   Pass
assert(abs(inscribed_circle_5(20,10)-19.5039)<0.001)

3   Pass
assert(abs(inscribed_circle_5(50,25)-121.8997)<0.001)

Suggested Problems

More from this Author149

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!