Q.

Let y=y(x) be the solution of the differential equation dydx+2y=f(x), where f(x)={1,x∈[0,1]0,otherwise.  If y(0)=0, then y(ln2) is

1 e2-14e2  
2 e2-12e2  
3 14  
4 38  

Ans.

(4)

When x∈[0,1], then dydx+2y=1⇒y=12+C1e-2x  

∵  y(0)=0⇒y(x)=12-12e-2x

Here, y(1)=12-12e-2x=e2-12e2

When x∉[0,1] then dydx+2y=0⇒C2=e2-12

∵  y(1)=e2-12⇒e2-12=C2e-2⇒C2=e2-12

∵  y(x)=(e2-12)e-2x⇒y(32)=e2-12e3