我的两个一阶微分如下
y1' = -sin(y0) + (gamma)*cos(y0)sin(beta * x)
和
y0' = y1
在哪里
(theta)'' = y, (theta)' = y1, theta = y0
我原来的方程式是
(((d^2)*theta)/dt^2)=-sin(theta)+(gamma)cos(theta)sin(Bx)
如何求解作为时间函数的 theta 并从 t=0 到 t=40 绘制。系统从静止开始theta = 0 and d(theta)/dt = 0
。