My two first order differentials are as follows
y1' = -sin(y0) + (gamma)*cos(y0)sin(beta * x)
and
y0' = y1
where
(theta)'' = y, (theta)' = y1, theta = y0
My original equation was
(((d^2)*theta)/dt^2)=-sin(theta)+(gamma)cos(theta)sin(Bx)
How do I solve for theta as a function of time and plot from t=0 to t=40. The system starts at rest with theta = 0 and d(theta)/dt = 0
.