Solve the differential equation: $6 \cos^2(x) \dfrac{dy}{dx} -y \sin(x)+2y^4 \sin^3(x)=0$ I have the following differential equation before me:
$6 \cos^2(x) \dfrac{dy}{dx} -y \sin(x)+2y^4 \sin^3(x)=0$
I tried solving it by reducing to Bernoulli form of first order differential equation.
I divided both sides of the equation by $6 \cos^2(x)y^4$ to get:
$\dfrac{1}{y^4} \dfrac{dy}{dx}-\dfrac{1}{y^3} \dfrac{\sin(x)}{6\cos^2(x)}=\dfrac{-\sin^3(x)}{3\cos^2(x)}$
Then I took $\dfrac{1}{y^3}=z$
so that $\dfrac{-3}{y^4}\dfrac{dy}{dx}=\dfrac{dz
}{dx}$
This gave me:
$\dfrac{dz}{dx}+\dfrac{\sin(x)}{2\cos^2(x)}z=\dfrac{\sin^3(x)}{\cos^2(x)}$
This is first order linear differential equation of the type
$ \dfrac{dz}{dx}+P(x)z=Q(x)$
Integrating Factor (IF) is given by:
$IF=e^{\int P(x) \,dx}= e^{\int \dfrac{\sin(x)}{2\cos^2(x)}\,dx}= e^{\dfrac{1}{2\cos(x)}}$
Next, solution is given by:
$z.IF= \int IF.Q(x)$
or
$z.e^{\dfrac{1}{2\cos(x)}}=\int e^{\dfrac{1}{2\cos(x)}}.\dfrac{\sin^3(x)}{\cos^2(x)} \,dx$
This is the step where I falter as I find myself unable to tackle the integral on the RHS of the above equation.
You are requested to help me with the evaluation of this integral or come up with another way of tackling this differential equation. Any help will be highly appreciated.

As @abcdefu already did, after $y=\frac{1}{\sqrt[3]{u}}$, we have
$$2 \cos ^2(x)\, u'+ \sin (x)\, u=2 \sin ^3(x)$$
The solution of the homegeneous is simple
$$u=C\,e^{-\frac{\sec (x)}{2}}$$ Variation of parameters leads to
$$\cos ^2(x) e^{-\frac{\sec (x)}{2}} C'=\sin ^3(x) \implies C'=\sin (x) \tan ^2(x) \,e^{\frac{\sec (x)}{2}}$$
Now, using $\sec(x)=2t$
$$C'=2 e^t \left(1-\frac{1}{4 t^2}\right) \implies C=\frac{1}{2} \left(e^t \left(\frac{1}{t}+4\right)-\text{Ei}(t)\right)+\text{Constant}$$
