Use Runge-Kutta(4th order) method to solve the differential equation for a forced, damped SHO given by
dx2/dt2 + dx/dt + 02x = Acost
Choose appropriate values for the constants. By changing the value of in comparison with 0 , demonstrate resonance. The initial conditions could be x(0)=0, (0)=0. Plot the displacement as a function of time.
Comments