dydx+2ysinx=0
⇒∫dyy =∫−2sinx dx
⇒ln y=2cosx+c
⇒y=e2cosx+c
⇒y=ke2cosx
For each of the given differential equation find the general solution. dydx+ysecx=tanx(0≤x≤π2).