A small rocket is being designed to make wind shear measurem

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 rocket\'s 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: height = 2.13 t^2 - 0.0013 t^4 + 0.000034t^4.751 Compute and print a table and a graph of time versus height, at 2-second intervals, up through 100 seconds. (The equation will actually predict negative heights. Obviously, the equation is no longer applicable once the rocket hits the ground. For now, do not worry about this physical impossibility; just do the math.) Use MATLAB to find the maximum height achieved by the rocket. Use MATLAB to find the time the maximum height is achieved.

Solution

Part 2a)

In Matlab, first we need to define the domain where we want to solve the problem. In 2a, It is defined that the domain is t=0 to t=100 with an interval of 2 sec.

Please find the Matlab code below.

t = 0:2:100; //This step is defining the domain space between 0 - 100 with 2 sec interval.

h = 2.13*t^2 - 0.0013*t^4 + 0.000034*t^4.751; // This step is defining the function h(t)

plot [t , h]; //This step will plot the function h wrt t

T = table (h,\'RowNames\',t) ;

T = (Press Enter) // This tep will tabulate all the funtion h wrt t.

Part 2b)

max_val = max (h) (Press Enter)  //This step will indicate the max value of h in the indicated domain.

Part 2c)

index_max_val = find (h = max_val) //This step will indicate the index value where the H is maximum

Thanks, in case of any query, please feel free to feedback.

 A small rocket is being designed to make wind shear measurements in the vicinity of thunderstorms. Before testing begins, the designers are developing a simula

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site