Question: (a) Plot the velocity v versus time t from 0 to 30 s. Add labels and grid. Use MATLAB fplot function. (b) Define a vector

(a) Plot the velocity v versus time t from 0 to 30 s. Add labels and grid. Use MATLAB fplot
function.
(b) Define a vector t from 0 to 30 with step size 3 and find the corresponding values of v.
Display the results in columns where first column is time t and second column is the
corresponding value of v. Use disp command.
c) Determine how high the rocket will fly in 30 s using Trapezoidal rule with n = 1, 2, 4, 6,
. . . , 20. You can use the function trap but you have to know how to use it and how it
works.
(d) Determine how high the rocket will fly in 30 s using Simpsons 1/3 rule with n = 2, 4, 6,
. . . , 20. Use the function simpson13.
(e) Determine how high the rocket will fly in 30 s using Simpsons 3/8 rule with n = 3.
(f) Determine how high the rocket will fly in 30 s using Romberg methods with s = 0.005%.
What is the order of accuracy of the achieved result. Use romberg function.
(g) Determine how high the rocket will fly in 30 s using two and three-point Gauss quadrature.
(h) Determine how high the rocket will fly in 30 s using MATLAB quad function.
 (a) Plot the velocity v versus time t from 0 to
30 s. Add labels and grid. Use MATLAB fplot function. (b) Define

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!