Cody

Problem 45341. Area-06

Solution 2136251

Submitted on 21 Feb 2020
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   Fail
r = 25; assert(abs(quarter_circle_01(r)-196.9667)<0.001)

y = 467.9204 p = 116.9801 l = 233.9602

Output argument "c" (and maybe others) not assigned during call to "quarter_circle_01". Error in Test1 (line 2) assert(abs(quarter_circle_01(r)-196.9667)<0.001)

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

y = 37.1681 p = 9.2920 l = 18.5841

Output argument "c" (and maybe others) not assigned during call to "quarter_circle_01". Error in Test2 (line 2) assert(abs(quarter_circle_01(r)-31.5147)<0.001)

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

y = 3.5076e+03 p = 876.9044 l = 1.7538e+03

Output argument "c" (and maybe others) not assigned during call to "quarter_circle_01". Error in Test3 (line 2) assert(abs(quarter_circle_01(r)- 1229.0730)<0.001)