Problem 45341. Area-06

Solution 2136723

Submitted on 22 Feb 2020 by Nikolaos Nikolaou
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
r = 25; assert(abs(quarter_circle_01(r)-196.9667)<0.001)

c = 196.9667

2   Pass
r = 10; assert(abs(quarter_circle_01(r)-31.5147)<0.001)

c = 31.5147

3   Pass
r = 62.45; assert(abs(quarter_circle_01(r)- 1229.0730)<0.001)

c = 1.2291e+03

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!