If $y=y(x)$ is the solution of $\frac{dy}{dx}=\frac{x-y\cos x}{1+\sin x}$, $y\left(\frac{\pi}{2}\right)=\frac{\pi^2}{8}$, then $y(\pi)=$
- (1)
$\frac{5\pi^2}{8}$
- (2)
$\frac{7\pi^2}{8}$
- (3)
$\frac{9\pi^2}{8}$
- (4)
$\frac{12\pi^2}{7}$
Show answer
Option (1) is correct.
The council's preliminary key