Posted by waqas on .
integrate it by integrating factor
Hmmm. rearrange things a bit to get
y' + sec^2 x y = tan x sec^2 x
y' + P(x)y = Q(x)
integrating factor is thus e^∫sec^2 x dx = e^(tan x)
now plug and chug