Cody

Solution 2132953

Submitted on 18 Feb 2020 by Asif Newaz
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)

y = 27.1178 79.8905 196.9667

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

y = 4.3389 12.7825 31.5147

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

y = 1.0e+03 * 0.1692 0.4985 1.2291