For an undamped SDOF spring mass system m=5Kg and k=2000 N/m. Plot the displacement and acceleration of the system using matlab if initial displacement is 0 and initial velocity is 0.6 m/s.
Now consider another case where the initial displacement is 0.2m and the initial velocity is 0 m/s. Make sure each plot as at least 5 cycles.
Part 2:
assume that a viscous damper is added to the system so the damping ratio is 20%, plot the response.