Question: 4 . ( a ) Modify LAB 0 5 ex 2 . m to compute and plot the quantity E = 1 / 2 mv

4.(a) Modify LAB05ex2.m to compute and plot the quantity E =1/2 mv^2+1/2 ky^2 as a function
of time. What do you observe? Is the energy conserved in this case? Include the plot.
(b) Show analytically that dE/dt 0 for c >0 while dE/dt >0 for c 0.
(c) Modify LAB05ex2.m to plot v vs y (phase plot). Include the plot. Comment on the
behavior of the curve in the context of the motion of the spring. Does the graph
ever get close to the origin? Why or why not?
4 . ( a ) Modify LAB 0 5 ex 2 . m to compute and

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 Programming Questions!