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, 03.07.2019 14:10
When at a point two solid phase changes to one solid phase on cooling then it is known as a) eutectoid point b) eutectic point c) peritectic point d) peritectoid point
Answers: 3
question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 03.07.2019 15:10
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
question
Engineering, 04.07.2019 18:10
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
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
English, 16.12.2019 15:31
question
Mathematics, 16.12.2019 15:31
question
Mathematics, 16.12.2019 15:31