Question

A system of mass m = 1 kg, stiffness k = 3 N/m, and damping c = 2 N.s/m, changes its governing equations as follow:

mx²x+cy = 4xy, mýÿ+x+k sint = 0, x(0) = 0, y(0) = 1, y(0) = -1, 0≤t≤ 1.3 s and, x + xy = cos t, ÿ+ xý = 8, 1.3 ≤ t ≤ 2.3 s

where the final conditions from the first set of equations are the initial conditions of the second set of equations.Plot y and y² versus x in one plot, and y versus y below each other. Add labels and legends. Use global command for the first set.

Fig: 1