The correct option is D 3e2
Given f(x)=f′(x)
which can be written as
y=dydx
⇒dydx−y=0
which is a linear differential eqn.
Here, P=−1,Q=0
Integrating factor I.F=e∫−1dx
⇒I.F.=e−x
Solution is given by
ye−x=∫0e−xdx
⇒ye−x=c ....(1)
Since, f(0)=3
⇒3e0=c
⇒c=3
Substitute this value in (1), we get
ye−x=3
Substitute x=2
⇒ye−2=3
⇒y=f(2)=3e2