Correct Answer - C
We have `(dy)/(dx) = y/x-cosp^(2)(y/x)`
Putting `y=vx` so that `(dy)/(dx) = v+x(dv)/(dx)`, we get
`v+x(dv)/(dx) =v-cos^(2)v`
or `(dv)/(cos^(2)v)=-(dv)/(x)`
or `sec^(2)udu=-1/xdx`
On integration, we get
`tanu=-logx+logC`
or `tan(y/x)=-logx+logC`
This passes through `(1,pi//4)`. Therefore, `1=logC`.
So, `tan(y/2)=-logx+1=-logx+log_(e)`
or `y=xtan^(-1)log(ex)`