Let y=y(t) be a solution of the differential equation dydx=1xcosy+sin2y is x=cesiny −k(1+ siny ) then the value of k is
dxdy=xcosy+sin2y
dxdy+(− cosy )x=2 sinycosy I.F=e−∫cosydy=e−siny Solution of the D.E is xe-siny =2∫e-siny .sinycosydy ..............(1)Integrate by parts where u=siny and v=e-siny cosy∫e-sinycosydy=∫e-tdt=-e-t+c=-e-siny+c(1) becomesxe-siny =2siny ∫e-siny cosydy-∫cosy ∫e-siny cosydydy=2-siny e-siny +∫e-siny cosydy =2-siny e-siny -e-siny xe-siny =-2 sinye -siny −2e-siny +c→x=-2siny−2+cesiny=cesiny−2(1+siny)→k=2