Cody

Problem 43747. Find the distance traveled by a car given velocity and time.

Solution 3838633

Submitted on 25 Nov 2020 by Cameron Yankasky
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
velocity = 10; time = 60; D_correct = 600; assert(isequal(distance(velocity,time),D_correct))

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!