Cody

Problem 45349. Area-07

Solution 2135869

Submitted on 21 Feb 2020 by David Hill
  • Size: 12
  • 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
r = 25; assert(abs(quarter_circle_02(r)-516.5287)<0.001)

2   Pass
r = 55.67; assert(abs(quarter_circle_02(r)-2561.2789)<0.001)

3   Pass
r = 42; assert(abs(quarter_circle_02(r)-1457.8505)<0.001)