Problem 45341. Area-06

Solution 3160691

Submitted on 11 Oct 2020 by Dyuman Joshi
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)

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

3   Pass
r = 62.45; assert(abs(quarter_circle_01(r)- 1229.0730)<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!