omega0=1; % eigen frequency gamma=0.02; % damping factor filename='spring_pastresonance.gif'; frames=100; options = odeset('RelTol',1e-4,'AbsTol',1e-4); [T...