Ok, so i just started a 2nd year engineering maths unit, but i got credit for the 1st year prerequisite from a subject i did about 4 yrs ago...

need some help.

eg. dy/dt + 2y = 1 , y(0)= 5/2

i started with dy/(1-2y)= dt

ln(1-2y) = t+c

1-2y = e^(t+c)

y= 1/2(1-e^(t+c))

am i right so far?

i then put y(0)= 1/2(1-e^c) = 5/2

1-e^c = 5

e^c = -4

c = ln(-4) which is clearly wrong.

where did i go wrong? any help greatly appreciated.. thanks