Official solution
Integrating Factor \[= {e^{\int {\tan x\,dx} }} = {e^{\ln (\sec x)}} = \sec x\]
\[y\sec x = \int {(\sin x)\sec x\,dx = \ln (\sec x) + C} \]
\[y(0) = 0 \Rightarrow C = 0\]
\[ \therefore \] \[y = \cos x\ln |\sec x|\]
\[y\left( {{\pi \over 4}} \right) = {1 \over {\sqrt 2 }}\ln \left( {\sqrt 2 } \right) = {1 \over {2\sqrt 2 }}\ln 2\]