Cody

Solution 1222435

Submitted on 29 Jun 2017 by Jihye Sofia Seo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

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))

Suggested Problems

More from this Author1