Cody

Problem 2912. Matlab Basics II - Free Fall

Solution 2878154

Submitted on 26 Aug 2020 by Ramesh Kumar V
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))

g = 9.810000000000000 x = 4.905000000000000

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

g = 9.810000000000000 x = 50.227200000000011

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!