PROBLEM STATEMENT A small rocket is being designed to make wind shear measuremen
ID: 1325335 • Letter: P
Question
PROBLEM STATEMENT
A small rocket is being designed to make wind shear measurements in the vicinity of thunderstorms. Before testing begins, the designers are developing a simulation of the rockets trajectory. They have derived the following equation, which they believe will predict the performance of the test rocket, where t is the elapsed time, in seconds:
The equation gives the height of the rocket above ground level at time t. The first term (60) is the height of the nose of the rocket above ground level, in feet.
REQUIREMENTS
(a) Give the commands to compute and print the time and height of the rocket from the time that it hits the ground in increments of 2 seconds (may need to have a higher resolution of increments to find zero). If the rocket has not hit the ground within 100 seconds, print values only up through 100 seconds. Use the whilecommand.
(b) Modify the steps in part (a) so that instead of a table, the program prints the time at which the rocket begins falling back to the ground and the time at which the rocket impacts the ground. Hint(Use the find command to hunt for the index at which you have a maximum and minimum, i.e., find(height == max(height)).
(c) Display a plot of the flight path of the rocket, showing its maximum and minimum values.
Explanation / Answer
a)
function height= rocketHeight(t)
height=2.13* t.^2-0.0013*t.^4-0.000034*t.^4.751
b)
t=10:2:100;
i=0;
while i< size(t)
heigth[i]= rocketHeight(t[i])
disp(i);
disp(' ');
disp(height[i]);
i=i+1;
end
plot(t,height);
Hope this will help you
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.