Cody

Solution 2000868

Submitted on 3 Nov 2019
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
p=1;l=1;A=2; correct = 0.5; assert(isequal(Resistance(p,l,A),correct))

R = 0.2500

Assertion failed.

2   Fail
p=0.5;l=10;A=2; correct = 2.5; assert(isequal(Resistance (p,l,A),correct))

R = 1.2500

Assertion failed.