Question: Using MATLAB codes 1) The distance a freely falling object travels is x-0.5gf where g acceleration due to gravity, 9.81 m/s t-time in seconds x
1) The distance a freely falling object travels is x-0.5gf where g acceleration due to gravity, 9.81 m/s t-time in seconds x distance travelled in meters The velocity and acceleration can be determined by taking derivatives of the distance. a) Create a function called "free fall" which a single input vector t that returns values for distance x, velocity, v, and acceleration, a. Hint, since acceleration will be constant, you will need to make this into a vector using a function such as ones b) Plot the three signals (x, v, a) using 3x1 subplots with a time vector that ranges from 0 to 5 seconds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
