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

4) A rocket with initial mass mo 150 burns fuel at the rate q1. The burn time b-

ID: 3699041 • Letter: 4

Question

4) A rocket with initial mass mo 150 burns fuel at the rate q1. The burn time b-45, the exhaust velocity of the burned fuel u-9000, the rocket's height at burnout Y 1633.72086, the rocket's velocity at burnout v-35377.91351, and the acceleration of gravity g32.2 The rocket's height, y, at time t is given by 2 Write a MATLAB program as follows a) h will go from 15,000 to 40,000 in steps of 5,000 b) For each value of h, calculate and print the time required for the rocket to reach a height of at least h and the exact height of the rocket after this amount of time. Use a step size of .01 for the time. The output of this program should look like this h.. 15 000 t#23.66 height-15008.07 h 20000 t-27.18 height-20013.91 h-25000 t 30.24 height-25003.70 h 30000 t 32.99 height 30009.52 h 35000 t-35.49 height 35000.34 h 40000 t-37.81 height 40016.21

Explanation / Answer

m0= 150
q = 1
b=45
u=9000
yb=1633.72086
vb=35377.91351
g= 32.2

h=[15000 : 5000 : 40000]
t=[1:100000]

a= t-b;

z= u/q;
x=(m0-(qt));

if t<=b
y= ((z*x)*log(x)) + (u*(log(m0)+1))- ((t*t)*(0.5 *g))- ((m0*z)*(log(m0)));
else
y= yb+ (vb*a)-((0.5* g)*(a));
  
X= ['h=',h,' t=', t, ' height=', y]
disp(X);

this is the code for your problem! if u require the output screenshot i can give provide u the same! mention in the comment section below! I am having some issues uloading the image! you try this code this will work! thanks :)

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