I need to solve this ODE:
$A +B\frac{dy}{dt}+C\sin(y)+\frac{d^2y}{dt^2} = 0$
where A, B, and C are constants, and $y$ is $y(t)$.
I manage to reduce the order of the ODE by using dimension analysis to:
$A +B\frac{dy}{dt}+\sin(y) = 0$
where A and B are constant, and $y$ is $y(t)$
I would like to know the analytic solution for the 1st order ode (and if it's a possibility for the 2nd order as well).
I'm working on a numerical solution just in case there is no solution for that problem, in the meanwhile.
Thanks in advance!
$$y''(x)+By'+c \sin y +A=0~~~~(1)$$ Let $y'=p$, then $$\frac{dp}{dx}+Bp+c \sin y+A=0~~~~(2)$$ $\frac{dp}{dx}=p\frac{dp}{dy}$, then $$p\frac{dp}{dy}+Bp+C \sin y+A=0$$ $$pdp+(Bp+C \sin y+A)dy=0~~~(3)$$ Multiply (3) by $e^{By}$ $$p~e^{By} dp+e^{By}(Bp+C \sin y+A)dy=0~~~(3)$$ (3) becomes an Exact Eq. Whose solution is $$\int pe^{By} dp \text{(treat $y$ as const)}+\int e^{By}(C \sin y+A) dy=G$$ $$\implies e^{By}\frac{p^2}{2}+e^{By}\left( \frac{B^2C \sin y- BC \cos y+A+AB^2}{B+B^3}\right)$$ $$\implies p=\frac{dy}{dx}=\sqrt{\sqrt{2}G+\sqrt{2}\frac{Bc\sin y-B^2C \sin y-A-AB^2}{(B+B^3)}}$$ Given the values of A,B,C, this integral can be solved to get $y(x)$ with two constants $G$ and one more $H$.