Question: MATLAB Please do not use any tools not included in the basic student matlab package. Drag force is a vector in the opposite direction of

MATLAB

MATLAB Please do not use any tools not included in the basicstudent matlab package. Drag force is a vector in the opposite direction

Please do not use any tools not included in the basic student matlab package.

Drag force is a vector in the opposite direction of an objects velocity vector. Which means the governing differential equations of an apple thrown straight up can be modeled with a piecewise differential. 4.-g-c * ( . while the ball is apple is rising d-y dt2 cwhile the ball is apple is falling Where g is the acceleration due to gravity (9.8 m/s2 ) and c is the drag coefficient. Use odeset, "Events" with ode45 to find how long an apple will be in the air if: It is thrown straight up from an initial height of 2.5 m It has an initial velocity of 10 m/s C=0.1 * Write a script appleFlights.m Your script should solve the differential equations governing flight of an apple and plot the height of the Apple vs Time with and without Drag and display to the command window the time when the apple hits the ground for both scenarios. (hint: consider what "events" are occurring, what is the height (y) or velocity (y') when the apple starts falling down, and when it hits the ground) Drag force is a vector in the opposite direction of an objects velocity vector. Which means the governing differential equations of an apple thrown straight up can be modeled with a piecewise differential. 4.-g-c * ( . while the ball is apple is rising d-y dt2 cwhile the ball is apple is falling Where g is the acceleration due to gravity (9.8 m/s2 ) and c is the drag coefficient. Use odeset, "Events" with ode45 to find how long an apple will be in the air if: It is thrown straight up from an initial height of 2.5 m It has an initial velocity of 10 m/s C=0.1 * Write a script appleFlights.m Your script should solve the differential equations governing flight of an apple and plot the height of the Apple vs Time with and without Drag and display to the command window the time when the apple hits the ground for both scenarios. (hint: consider what "events" are occurring, what is the height (y) or velocity (y') when the apple starts falling down, and when it hits the ground)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!