Cody

Problem 47113. Distance Travelled by Vehicle

Solution 3461398

Submitted on 28 Oct 2020 by William
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
t = 1; y_correct = 12.5; assert(isequal(d_in_t(t),y_correct))

2   Pass
t = 5; y_correct = 112.5; assert(isequal(d_in_t(t),y_correct))

3   Pass
t = 10; y_correct = 350; assert(isequal(d_in_t(t),y_correct))

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!