Problem 44871. Calculate Resistance

Solution 1865259

Submitted on 4 Jul 2019 by Renato SL
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
p=1;l=1;A=2; correct = 0.5; assert(isequal(Resistance(p,l,A),correct))

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

Suggested Problems

More from this Author4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!