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

Create a single MATLAB script file (*.m file) that will solve problem 37 of Chap

ID: 3773837 • Letter: C

Question

Create a single MATLAB script file (*.m file) that will solve problem 37 of Chapter 2 (page 55) and problems 8, 9, and 10 (combine into one problem) of Chapter 3 (page 96). Upload your *.m script file to Assignment 10. Do not write a command for each element of the arrays, but utilize MATLAB ability to process entire arrays at one time.

Problem 37:

The general equation for the distance that a free falling body has traveled (neglecting air friction) is d = 0.5gt^2. Assume that g = 9.8 m/s^2. Generate a table of time versus distance traveled, for time from 0 to 100 s in increments of 10 s. Be sure to use element by element operations, and not matrix operations.

Problems 8,9,10:

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:

height = 2.13t^2 - 0.0013t^4 + 0.000034t^(4.751)

8. Compute and print a table of time versus height, at 2 seconds intervals, up through 100 seconds. (the equation will accurately predict negative heights. Obviously, the equation is no longer applicable once the rocket hits the ground. For now, do not worry about this physics impossibility; just do the math.)

9. Use MATLAB to find the maximum height achieved by the rocket.

10. Use MATLAB to find the time the maximum height is achieved

P.S. If the question is too long i can post it again so it counts as two, just please do it in one document.

Thank You

Explanation / Answer

Problem : 37

fprintf('Time Distance ');
for t = 0: 10 : 100
d = 0.5 * 9.8 * t * t;
fprintf('%d %i ',t,d);
end

Problem 8,9,10
h1=0;
t1=0;
fprintf('Time Height ');
for t = 0: 2 : 100
h = (2.13*(t^2)) - (0.0013*(t^4)) + (0.000034*(t^4.751));
if (h > h1)
       h1 = h;
       t1 = t;
   end
fprintf('%d %i ',t,h);
end
fprintf('Maxium Height : %i ',h1);
fprintf('Time of Maximum Height : %d ',t1);

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