Cody

Problem 2912. Matlab Basics II - Free Fall

Solution 3247658

Submitted on 17 Oct 2020 by Shikhar Chandra
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; x_correct = 4.905000000000000; assert(isequal(freefall(t),x_correct))

x = 4.9050

2   Pass
t = 3.2; x_correct = 50.227200000000010; assert(isequal(freefall(t),x_correct))

x = 50.2272

Suggested Problems

More from this Author28

Community Treasure Hunt

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

Start Hunting!