Given: (t+1)dx=(2x+(t+1)4)dt
⇒dtdx=(t+1)2x+(t+1)4
⇒dtdx−(t+1)2x=(t+1)3
⇒IF=e∫t+1−2dt
⇒IF=e−2log∣t+1∣
⇒IF=(t+1)21
Solution of the differential equations is given by,
⇒x×(t+1)21=∫(t+1)dt
⇒(t+1)2x=2t2+t+c
It is given that x(0)=2
⇒(0+1)22=20+0+c
⇒c=2
⇒(t+1)2x=2t2+t+2
Putting t=1,
⇒(1+1)2x=212+1+2
⇒4x=21+3
⇒x=2+12
⇒x=14