If $y = y(x)$ is the solution of $\left(\frac{2 + \sin x}{y + 1}\right) \frac{dy}{dx} + \cos x = 0$ with $y(0) = 1$, then $y\left(\frac{\pi}{2}\right) = $
Show Hint
For separable equations, integrate both sides and apply the initial condition immediately to find the constant $C$.