Problem 2912. Matlab Basics II - Free Fall

Solution 2604364

Submitted on 24 Jun 2020
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
t = 1; x_correct = 4.905000000000000; assert(isequal(freefall(t),x_correct))

x = 4.900000000000000

Assertion failed.

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

x = 50.176000000000016

Assertion failed.

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!