I am working through a project and had to solve this ODE: $$ \ddot{z} - ce^{-z} + d = 0 $$ for $c,d$ being constant, with $c > d > 0$. The project is modelling the height of a blimp over time
After numerically solving this equation for initial conditions $z(0)=0, \dot{z}(0)=0$ (a little Mathematica NDSolve), you get the following graph:

It looks remarkably like a sinusoid. I can play around with the initial conditions or the constants to get shifted and squeezed sinusoids. So, I made an assumption that $z = A\sin\left( \omega t \right) + B$ and plugged it into the differential equation. The exponential term gives quite a bit of difficulty and is ultimately equal to a complex value.
Did I choose a poor ansatz? Is there a better ansatz for me to choose? Is the numerical solution similar but not the same as a sinusoid?
Many Thanks!
$$z'' - ce^{-z} + d = 0$$ Try to reduce the order of the DE. $$z''z' - ce^{-z}z' + dz' = 0$$ Integrate to reduce the order: $$\frac 12(z')^2 +ce^{-z} + dz = K$$