Develop an M-file function to implement adaptive quadrature based on Fig. 20.6. Test the function by using

Question:

Develop an M-file function to implement adaptive quadrature based on Fig. 20.6. Test the function by using it to determine the integral of the polynomial from Example 20.1. Then use it to solve Prob. 20.20.


Fig.20.6


Example 20.1


Problem 20.20

The upward velocity of a rocket can be computed by  the following formula:


where ν = upward velocity, u = velocity at which fuel is expelled relative to the rocket, m= initial mass of the rocket at time t = 0, q = fuel consumption rate, and g = downward acceleration of gravity (assumed constant = 9.81 m/s2). If u = 1850 m/s, m0 = 160,000 kg, and q = 2500 kg/s, determine how high the rocket will fly in 30 s.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: