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

Rocket Trajectory. Suppose a small rocket is being designed to make wind sheer m

ID: 3540296 • Letter: R

Question

Rocket Trajectory. Suppose a small rocket is being designed to make wind sheer measurements in the vicinity of thunderstorms. Theheightt of the rocket can be represented by the following equation: Height = 2.13t2 - 0.0013t4 +0.000034t4.751
A) Create a function called height that accepts time as an input and returns the height of the rocke. Use your function in your solutions to (B) and (C).
B) Compute and plot the time and height of the rocked from the time it launches until it hits the ground, in increments of 2 seconds. If the rocked has not hit the ground within 100 seconds, print values only up through 100 seconds.Create a vector for time to use as input to function. Use "find" function on utput to plot positive heights vs. time for flight.
C) Now find and print the time at which the rocket begins to fall back to the ground and the time at which it hits the ground (when the elevation becomes negative.) Find each separately. Use a while loop with a condition based on the value you are looking for. Create a iterator variable to providethe index for printing when the loop exits.
If anyone could help me out with this, that would be great!

Rocket Trajectory. Suppose a small rocket is being designed to make wind sheer measurements in the vicinity of thunderstorms. Theheightt of the rocket can be represented by the following equation: Height = 2.13t2 - 0.0013t4 +0.000034t4.751
A) Create a function called height that accepts time as an input and returns the height of the rocke. Use your function in your solutions to (B) and (C).
B) Compute and plot the time and height of the rocked from the time it launches until it hits the ground, in increments of 2 seconds. If the rocked has not hit the ground within 100 seconds, print values only up through 100 seconds.Create a vector for time to use as input to function. Use "find" function on utput to plot positive heights vs. time for flight.
C) Now find and print the time at which the rocket begins to fall back to the ground and the time at which it hits the ground (when the elevation becomes negative.) Find each separately. Use a while loop with a condition based on the value you are looking for. Create a iterator variable to providethe index for printing when the loop exits.
If anyone could help me out with this, that would be great!

A) Create a function called height that accepts time as an input and returns the height of the rocke. Use your function in your solutions to (B) and (C).
B) Compute and plot the time and height of the rocked from the time it launches until it hits the ground, in increments of 2 seconds. If the rocked has not hit the ground within 100 seconds, print values only up through 100 seconds.Create a vector for time to use as input to function. Use "find" function on utput to plot positive heights vs. time for flight.
C) Now find and print the time at which the rocket begins to fall back to the ground and the time at which it hits the ground (when the elevation becomes negative.) Find each separately. Use a while loop with a condition based on the value you are looking for. Create a iterator variable to providethe index for printing when the loop exits.
If anyone could help me out with this, that would be great!

Explanation / Answer


t = [0:2:100];


height = 2.13*t.^2 - 0.0013*t.^4 + 0.000034*t.^4.751;



disp('Rocket Analysis')

disp('time height')

disp([t', height'])

fprintf('%4.0f %9.2f ',[t;height]) %This allows you to format the two

terms differently

%Alternatively, you could use:

%disp([t',height'])

%But note if you try this how the number format isn't quite as nice.

%Calculating the max height and time

maxheight = max(height)

maxind = find(height == maxheight); %Find will locate the index for the

condition listed

maxtime = t(maxind)

Rocket Analysis

time height

0 0.00

2 8.50

4 33.77

6 75.16

8 131.66

10 201.92

12 284.32

14 377.02

16 477.96

18 584.93

20 695.60

22 807.54

24 918.28

26 1025.29

28 1126.09

30 1218.23

32 1299.31

34 1367.04

36 1419.29

38 1454.05

40 1469.52

42 1464.12

44 1436.51

46 1385.63

48 1310.70

50 1211.30

52 1087.35

54 939.15

56 767.42

58 573.30

60 358.40

62 124.81

64 -124.86

66 -387.46

68 -659.31

70 -936.09

72 -1212.91

74 -1484.24

76 -1743.88

78 -1984.93

80 -2199.82

82 -2380.22

84 -2517.05

86 -2600.46

88 -2619.79

90 -2563.56

92 -2419.42

94 -2174.19

96 -1813.75

98 -1323.10

100 -686.28

maxheight =1.4695e+003

maxtime =40 ANSWER



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