Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Rocket Trajectory. A small rocket is being designed to make wind shear in the vi

ID: 3878783 • Letter: R

Question

Rocket Trajectory. A small rocket is being designed to make wind shear in the vicinity of thunderstorms. Before testing begins, the design rs are developing a simulation of the rocket's trajectory. They have derived the equation that they believe will predict the performance of the test neasurements ollowing where t is the elapsed time in seconds: height = 60 + 2. 13t2-0.00 13t4 + 0.000034t4751 ocket, he equation gives the height above ground level at time t. The first term (60) is e height in feet above ground level of the nose of the rocket. Give the commands to compute and print the time and height of the rocket from t = 0 to the time that it hits the ground, in increments of 2 seconds. If the rocket has not hit the ground within 100 seconds, print values only up through 100 seconds. Modify the steps in problem 1 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.

Explanation / Answer

PLEASE REFER BELOW CODE

close all

clear all

clc

syms t

h = 60 + 2.13 * t^2 - 0.0013 * t^4 + 0.000034 * t^4.751;

% printing table with time and height

t1 = 0;

i=1;

fall = 0;

while t1 < 101

ht(i) = subs(h,t,t1);

if( ht(i) == 0.000000001) %checking if rocket reaches to ground before 100s

break;

else

fprintf('%f %f ', t1,ht(i)); %print table

  

if ht(i) < 0 && ht(i-1) > 0 && i >= 2 %condition at time which rocket begins falling

fall = t1-2;

end

%incrementing time by 2s and array index

t1 = t1 + 2;

i = i + 1;

end

end

%time at which rocket falls means the instant at which height will get

%decreasing(-ve)

fprintf(' Time at which rocket begins to fall = %f seconds ', fall);

PLEASE REFER BELOW OUTPUT

0.000000 60.000000

2.000000 68.500116

4.000000 93.771853

6.000000 135.164429

8.000000 191.659034

10.000000 261.916368

12.000000 344.320095

14.000000 437.017560

16.000000 537.958484

18.000000 644.932053

20.000000 755.602700

22.000000 867.544777

24.000000 978.276275

26.000000 1085.291709

28.000000 1186.094264

30.000000 1278.227275

32.000000 1359.305116

34.000000 1427.043531

36.000000 1479.289474

38.000000 1514.050484

40.000000 1529.523627

42.000000 1524.124050

44.000000 1496.513154

46.000000 1445.626419

48.000000 1370.700905

50.000000 1271.302439

52.000000 1147.352514

54.000000 999.154898

56.000000 827.421995

58.000000 633.300946

60.000000 418.399488

62.000000 184.811587

64.000000 -64.857144

66.000000 -327.464244

68.000000 -599.305406

70.000000 -876.089661

72.000000 -1152.914764

74.000000 -1424.242751

76.000000 -1683.875666

78.000000 -1924.931466

80.000000 -2139.820082

82.000000 -2320.219630

84.000000 -2457.052786

86.000000 -2540.463300

88.000000 -2559.792652

90.000000 -2503.556849

92.000000 -2359.423355

94.000000 -2114.188150

96.000000 -1753.752917

98.000000 -1263.102354

100.000000 -626.281598

Time at which rocket begins to fall = 62.000000 seconds

>>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote