Let \(y=y(x)\) be the solution of the differential equation
\[
x\frac{dy}{dx}=y-x^2\cot x,\quad x\in(0,\pi)
\]
If \(y\!\left(\frac{\pi}{2}\right)=\frac{\pi^2}{2}\), then
\[
6y\!\left(\frac{\pi}{6}\right)-8y\!\left(\frac{\pi}{4}\right)
\]
is equal to:
Show Hint
Always reduce linear differential equations to standard form before applying integrating factors.