Cody

Solution 1189759

Submitted on 15 May 2017
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   Fail
x = 10; y = 5; y_correct = 2; assert(isequal(car_velocity_m_s(x,y),y_correct))

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test1 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

2   Fail
x = 5; y = 5; y_correct = 1; assert(isequal(car_velocity_m_s(x,y),y_correct))

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test2 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

3   Fail
x = 500; y = 10; y_correct = 50; assert(isequal(car_velocity_m_s(x,y),y_correct))

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test3 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

4   Fail
x = 625; y = 25 y_correct = 25; assert(isequal(car_velocity_m_s(x,y),y_correct))

y = 25

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test4 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

5   Fail
x = 75; y = 7.5 y_correct = 10; assert(isequal(car_velocity_m_s(x,y),y_correct))

y = 7.5000

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test5 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

6   Fail
x = 42; y = 1; y_correct = 42; assert(isequal(car_velocity_m_s(x,y),y_correct))

Undefined function 'car_velocity_m_s' for input arguments of type 'double'. Error in Test6 (line 4) assert(isequal(car_velocity_m_s(x,y),y_correct))

More from this Author1