Cody

Solution 2230602

Submitted on 23 Apr 2020 by William
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(cable_03([50,70],140)-55.4172)<0.0001)

2   Pass
assert(abs(cable_03([80,70],160)-35.4678)<0.0001)

3   Pass
assert(isequal(cable_03([80,70],150),0))

4   Pass
assert(abs(cable_03([50 100],1000)-984.5341)<0.0001)

5   Pass
assert(abs(cable_03([500 100],1000)-721.5116)<0.0001)