Question: I cannot make this Matlab code. help me. 1. The equations of motion for a projectile subject to air resistance are: du dt dv In
I cannot make this Matlab code. help me.
1. The equations of motion for a projectile subject to air resistance are: du dt dv In these equations, u and v are the velocity components, V is the velocity vector, g is gravity, and y is a drag coefficient. If you define four variables, sayy1 > y4, as the horizontal position, vertical position, horizontal velocity, and vertical velocity, you can restate the problem as a set of four first order ODEs. Use the initial conditions x(0) = 0 y(o)o u(0)-|V| sin() with a launch angle of 40 degrees and a launch speed of 180 m /s. Compute and plot the trajectory for friction coefficients of 0, 0.05, 0.1, and 0.2. Either superimpose all four plots, or, if the axis limits for the 4 cases are very different, you may find it more pleasing to make a 2x2 subplot. As usual, label axis with names and units, and use legends as necessary. 1. The equations of motion for a projectile subject to air resistance are: du dt dv In these equations, u and v are the velocity components, V is the velocity vector, g is gravity, and y is a drag coefficient. If you define four variables, sayy1 > y4, as the horizontal position, vertical position, horizontal velocity, and vertical velocity, you can restate the problem as a set of four first order ODEs. Use the initial conditions x(0) = 0 y(o)o u(0)-|V| sin() with a launch angle of 40 degrees and a launch speed of 180 m /s. Compute and plot the trajectory for friction coefficients of 0, 0.05, 0.1, and 0.2. Either superimpose all four plots, or, if the axis limits for the 4 cases are very different, you may find it more pleasing to make a 2x2 subplot. As usual, label axis with names and units, and use legends as necessary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
