This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 10;
y = 5;
y_correct = 2;
assert(isequal(car_velocity_m_s(x,y),y_correct))
|
2 | Pass |
x = 5;
y = 5;
y_correct = 1;
assert(isequal(car_velocity_m_s(x,y),y_correct))
|
3 | Pass |
x = 500;
y = 10;
y_correct = 50;
assert(isequal(car_velocity_m_s(x,y),y_correct))
|
4 | Pass |
x = 625;
y = 25
y_correct = 25;
assert(isequal(car_velocity_m_s(x,y),y_correct))
y =
25
|
5 | Pass |
x = 75;
y = 7.5
y_correct = 10;
assert(isequal(car_velocity_m_s(x,y),y_correct))
y =
7.5000
|
6 | Pass |
x = 42;
y = 1;
y_correct = 42;
assert(isequal(car_velocity_m_s(x,y),y_correct))
|
1726 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1492 Solvers
229 Solvers
254 Solvers
90 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!