This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
N=3; R=100; V=12;
reading_correct = 6;
reading = ladder(N,R,V);
assert(abs(reading-reading_correct)<1000*eps)
|
2 | Pass |
%%
N=3; R=100; V=120;
reading_correct = 60;
reading = ladder(N,R,V);
assert(abs(reading-reading_correct)<1000*eps)
|
3 | Pass |
%%
N=5; R=100; V=100;
reading_correct = 20;
reading = ladder(N,R,V);
assert(abs(reading-reading_correct)<1000*eps)
|
519 Solvers
17128 Solvers
Generate a string like abbcccddddeeeee
234 Solvers
190 Solvers
Determine the number of odd integers in a vector
435 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!