Fill This Form To Receive Instant Help
Homework answers / question archive / Programming Assignment #2 The velocity of a rocket is given by v(t) = 10t2 – 5t 0 £ t £ 8 624 – 5t 8 £ t £ 16 36t + 12(t – 16)2 16 £ t £ 26 2136e-0
Programming Assignment #2
The velocity of a rocket is given by
v(t) = |
10t2 – 5t 0 £ t £ 8 |
624 – 5t 8 £ t £ 16 |
|
36t + 12(t – 16)2 16 £ t £ 26 |
|
2136e-0.1(t-26) t > 26 |
|
0 otherwise |
Develop a function M-file to compute v as a function of t. Then develop a script M-file that uses this function to generate a plot of v versus t for t = -50 to 50.