Cody

Problem 2912. Matlab Basics II - Free Fall

Solution 2878151

Submitted on 26 Aug 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))

Undefined function 'formaf' for input arguments of type 'char'. Error in freefall (line 2) formaf long Error in Test1 (line 3) assert(isequal(freefall(t),x_correct))

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

Undefined function 'formaf' for input arguments of type 'char'. Error in freefall (line 2) formaf long Error in Test2 (line 3) assert(isequal(freefall(t),x_correct))

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!