subject
Engineering, 30.03.2020 22:15 alissalhenry

A simple formula to estimate the upward velocity of a rocket (neglecting the aerodynamic drag) is:

v(t)=u\ln (\frac{m_0{}}{m_0{}-qt})-gt

where t = time, v = upward velocity, u = the velocity at which fuel is expelled relative to the rocket, m0 = the initial mass of the rocket at time t = 0, q = the fuel consumption rate, and g = the downward acceleration of gravity.

Develop a MATLAB function which, for given parameters u, m0, q, and g, and a specified velocity v*, computes the time t* that the rocket reaches this velocity.

Hint:

(1) Formulate this problem into a root-finding problem, and solve it using the MATLAB built-in function "fzero".

(2) The initial bracketing interval (or initial guess) for "fzero" must be within the domain of the root-finding function. Note that the above function v(t) has a bounded domain (due to "ln").

The function should start off like the one below:

function tstar = fzero_rocket_example(u, g, q, m0, vstar)
%% Input
% m0: initial mass of rocket at time t=0
% g: gravitational constant
% q: fuel consumption rate
% u: velocity at which fuel expelled relative to rocket
% vstar: upward velocity value for which tstar is to be determined
%
%% Output
% tstar: the time that the rocket reaches the specified velocity, vstar. (scalar)

%% Write your code here.
tstar = 0;

end

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
question
Engineering, 04.07.2019 19:20
Amass-spring-viscous damper system of mass 3 kg has a frequency of 100 rad/s and is critically damped. its initial conditions are x(0)-3 mm and (0)-2.3 m/s. does the system overshoot its equilibrium position? prove your answer
Answers: 1
question
Engineering, 06.07.2019 03:10
Different between right hand turning tool and left hand turning tool ?
Answers: 1
question
Engineering, 06.07.2019 04:10
Aheat pump that operates on the ideal vapor compression cycle with refrigerant-134a is used to heat water from 15°c to 45°c at a rate of 0.12 kg/s. the condenser and evaporator pressures are 1.4 and 0.32 mpa, respectively determine: (a) the power input to the heat pump
Answers: 1
You know the right answer?
A simple formula to estimate the upward velocity of a rocket (neglecting the aerodynamic drag) is:
Questions
question
Mathematics, 10.04.2020 22:52
question
Mathematics, 10.04.2020 22:53
question
Mathematics, 10.04.2020 22:53
Questions on the website: 13722367