It is given that $w=\cos y$ and $$\tan y\{y''+(y')^2\}+2\tan y\,y'=1+e^{-2x}\sec y.$$
(a) Show that $w''+2w'+w=-e^{-2x}$. [4]
(b) Find the particular solution for $y$ in terms of $x$, given that when $x=0$, $y=\frac\pi3$ and $y'=\frac1{\sqrt3}$. [10]