I have some trouble with a challenging fluid mechanics problem. The problem leads me to a non-linear ode 1st order.
$0={\dot p_C}^2+\frac{k_1}{k_2 C}\dot p_C+\frac{p_C-p_0}{k_2C^2}$
My Idea was now to change the equation to $\dot p_C$ and solve this in Simulink. So I used the quadratic solution formula.
$0=x^2+px+q \to x_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p^2}{4}-q}$
Now I'm not sure. Am I allowed to do that at this differential equation?