Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 2.1;
t = 4.2;
v_correct = 23.849128073359125;
assert(isequal(particle_vel(x,t),v_correct))
ans =
23.8491
|
2 | Pass |
%%
x = -5.3;
t = 6.8;
v_correct = -22.273808521444963;
assert(isequal(particle_vel(x,t),v_correct))
ans =
-22.2738
|
Increment a number, given its digits
562 Solvers
Find the sum of the elements in the "second" diagonal
994 Solvers
Who knows the last digit of pi?
557 Solvers
271 Solvers
484 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!