Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
R=1;
M=1;
W=99;
assert(tank(R,M)>W)
W =
99.0050
|
2 | Pass |
R=2;
M=2;
W=96;
assert(tank(R,M)>W)
W =
96.0789
|
3 | Pass |
R=10;
M=10;
W=36;
assert(tank(R,M)>W)
W =
36.7879
|
4 | Pass |
R=15;
M=20;
W=5;
assert(tank(R,M)<W)
W =
4.9787
|
5 | Pass |
R=7;
M=8;
W=58;
assert(tank(R,M)<W)
W =
57.1209
|
Maximum running product for a string of numbers
1112 Solvers
Return the first and last character of a string
3454 Solvers
272 Solvers
07 - Common functions and indexing 1
338 Solvers
279 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!