The given differential equation is a first-order linear ODE:
dxdy+(tanx)y=(1+2secx)22+secx
To solve it, we find the integrating factor: IF=e∫tanxdx=e−ln∣cosx∣=secx.
Multiplying both sides of the differential equation by this integrating factor gives
dxd(ysecx)=(1+2secx)2secx(2+secx)
We simplify the right-hand side by expressing it in terms of cosx:
(1+2secx)2secx(2+secx)=(1+cosx2)2cosx1(2+cosx1)=cos2x(cosx+2)2cos2x2cosx+1=(cosx+2)22cosx+1
Observing that
(cosx+2)22cosx+1=dxd(cosx+2sinx),
which can be checked by differentiating:
dxd(cosx+2sinx)=(cosx+2)2cosx(cosx+2)+sin2x=(cosx+2)2cos2x+2cosx+sin2x=(cosx+2)21+2cosx.
Therefore, integrating both sides with respect to x yields
ysecx=cosx+2sinx+C.
To determine the constant C, we use the condition f(3π)=103:
103⋅sec3π=cos3π+2sin3π+C
103⋅2=21+223+C
1023=2523+C=53+C
53=53+C
C=0
Hence, ysecx=cosx+2sinx, so that y=cosx+2sinxcosx.
Evaluating this at x=4π gives
f(4π)=cos4π+2sin4π⋅cos4π=21+221⋅21=21+2221=2(1+22)2
Rationalizing the denominator gives
=2(22+1)(22−1)2(22−1)=2(8−1)2(22−1)=142⋅2−2=144−2
The correct answer is Option 4: 144−2.