Cody

Solution 2138418

Submitted on 23 Feb 2020 by Tim
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
assert(abs(grazing_01(10,20,5)-58.9049)<0.001)

2   Pass
assert(abs(grazing_01(5,25,2)-9.4248)<0.001)

3   Pass
assert(abs(grazing_01(5,25,8)-157.8650)<0.001)

4   Pass
assert(abs(grazing_01(20,20,20)- 942.4778)<0.001)

5   Pass
assert(abs(grazing_01(10,20,0)-0)<0.001)

6   Pass
assert(abs(grazing_01(12,20,25)-1624.9888)<0.001)

Suggested Problems

More from this Author148