Check answer please simple diff eq'n problem involving eulers method

  • Thread starter Thread starter nchin
  • Start date Start date
  • Tags Tags
    Method
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
nchin
Messages
172
Reaction score
0

Homework Statement



dy/dt = -4t+2
y(0) = 1
find y(1)=?

Homework Equations





The Attempt at a Solution



so first i solve the diff equation:
dy/dt = -4t + 2
dy=(-4t+2)dt
∫dy=∫(-4t+2)dt
y(t) = -2t^(2)+2t+C
y(0)=1
1=-2(0)^(2)+2(0)+C_1
1=C_1

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

now i solve for y(1)..

y(1)=-2(1)^(2)+2(1)+1
y(1)=1


is this correct??
 
Physics news on Phys.org