Solution of differential equation dydx+xsin2y=sinycosy is
tany=(x−1)+Ce−x
coty=(x−1)+Ce−x
tany=(x−1)ex+C
coty=(x−1)ex+C
dydx+xsin2y=sinycosycosec2ydydx+x=coty Let −coty=vdvdx+v=xIF =e∫1dx=exsol: vex=∫exx dx∴ −coty⋅ex=x∫exdx-∫1∫exdxdx⇒coty=(x−1)+Ce−x