Question: Matlab code Task 3 Newton's law describes the motion of a rocket-propelled sled as mdtdv=fcv where m is the sled mass, f is force of
Matlab code

Task 3 Newton's law describes the motion of a rocket-propelled sled as mdtdv=fcv where m is the sled mass, f is force of the rocket thrust, and c is the drag constant due to air resistance. Assume m=1000kg,f=75000N and v(0)=0m/s. Determine the velocity of the sled from t =0 s to 10 s (increments of 0.1s) using the midpoint method for c=50,100,500,1000 and 2000Ns/m. You must use a for loop to go through each value of c. On a single figure, plot the velocity against time for each c and provide a statement that contains the velocity of the sled at 10 s for each c. E.g. v=???m/satt=10sifc=50v=???m/satt=10sifc=100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
