Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please post the Matlab code to solve the following: A small rocket with an initi

ID: 2268791 • Letter: P

Question

Please post the Matlab code to solve the following:

A small rocket with an initial mass of 350 kg, including a mass of 100 kg of fuel,
is fired from a rocket launcher. The rocket leaves the launcher at velocity vo and at
an angle of ?o with the horizontal. Neglect the fuel consumed inside the rocket
launcher. The rocket burns fuel at the rate of 10 kg/s, and develops a thrust T =
6000 N. The thrust acts axially along the rocket and lasts for 10 seconds. Assume
that the drag force also acts axially and is proportional to the square of the rocket
velocity. The governing differential equations describing the position and velocity
components of the rocket (see Figure P6.2) are as follows:

Explanation / Answer

cosine = A, sine = B, mass = m, Vx = velocity along x, Velcoity along y = Vy

eqn 1

X (i,j) - 2 X(i,j+1) - X (i,j+2) = A/m * ( T - K*v*v)

eqn 2

Y (i,j) - 2 Y(i,j+1) - Y (i,j+2) = B/m * ( T - K*v*v) - g

eqn 3

X ( i+1,j) - X (i,j) = Vx

Y( i,j+1) - Y(i,j) = Vy

eqn 4

v = sqrt ( Vx*Vx + Vy*Vy)

eqn 5

A = cosine = Vx / sqrt ( Vx*Vx + Vy*Vy )

B = sine = Vy/ sqrt ( Vy*Vy + Vx*Vx)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote