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 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following ziegler nichols tuning methods the response of the controller to a step input should exhibit an s-shaped curve? a)-open loop mode b)-closed loop mode c)-both modes (open & closed) d)-none of the modes (open & closed)
Answers: 3
You know the right answer?
A simple formula to estimate the upward velocity of a rocket (neglecting the aerodynamic drag) is:
Questions
question
World Languages, 20.01.2021 18:10
question
Mathematics, 20.01.2021 18:10
question
English, 20.01.2021 18:10
question
Mathematics, 20.01.2021 18:10
question
Mathematics, 20.01.2021 18:10
Questions on the website: 13722367