Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
m = 20;
v = 25
y_correct = 6250;
assert(isequal(kinetic_energy(m,v),y_correct))
v =
25
ans =
6250
|
2 | Pass |
m = 1;
v = 4;
y_correct = 8;
assert(isequal(kinetic_energy(m,v),y_correct))
ans =
8
|
3 | Pass |
m = 6;
v = 9;
y_correct = 243;
assert(isequal(kinetic_energy(m,v),y_correct))
ans =
243
|
281 Solvers
551 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
230 Solvers
197 Solvers
364 Solvers