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