Question: PLEASE USE MATLAB FOR PART B 2.17 Consider the equation of motion of a driven simple harmonic oscillator where a is a constant a. Integrate

PLEASE USE MATLAB FOR PART B
2.17 Consider the equation of motion of a driven simple harmonic oscillator where a is a constant a. Integrate the equation to find the solution analytically. b. Solve the equation of motion using MATLAB ODE45, and plot x(t) and a (t). Let a0.5, and k- 3. Be sure to label your axes (with units!) and add a legend to the plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
