$$ \left\{ \begin{array}{lll} \frac{d \beta}{d t} &=& \left\{ A \beta + B(\cos{\beta}-1) \right\}^{1/2} \\ \beta(t=0) &=& 0 \end{array} \right. $$
- $A = \frac{6l}{ML^2} (F_g +F_i) \approx 3 \times 10^5$
- $B=\frac{6kl^2}{Ml^2}\approx 3.3 \times 10^5$
Here 't' stands for time and 'beta' for opening angle of structure similar to cantilever beam. A & B are constants, approximate values of which are mentioned in the image, but you can take them as any simple value for solving.
I was trying to solve a differential equation(in the image), but the problem is I cannot solve it by usual integration method and when I solve it using the runge kutta method, I get all zeros, that's because of the boundary condition, which I can judge. But when I change the boundary condition to $$ \beta(t=0) = 0.0174\frac{\pi}{180} $$ I get a linear increasing curve but actually what I must be getting is a fluctuating curve something similar to the sine wave, can you please spot any mathematical error and guide me through this? Thank you.enter image description here


For small values of $β$ your equation is approximately $$ \dot β=\sqrt{Aβ} $$ which is not uniquely solvable for $β(0)=0$. Obviously, this equation as well as the original equation have the zero solution. But there is also the largest possible solution of the approximation $$ β(t)=\frac{A}4t^2. $$ You can also get any solution in-between as $β(t)=\frac{A}4\max(0,t-c)^2$.
So to get a non-zero solution you can choose some $\tau$ with $Aτ\approx 0$ and start with the initial condition $β(τ)=\frac{A}4τ^2$. This solution will be monotonously increasing until hitting the first positive root of the right side, if there is one, from whereon it will stay constant at that root value.