Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Question on Euler's method - ODE

  1. Sep 10, 2010 #1
    1. The problem statement, all variables and given/known data
    y' = y - x - 1, y(0) = 1, h = .25


    2. Relevant equations



    3. The attempt at a solution
    y1 = 1+(.25)*(1-0-1) = 1
    y2 = 1+(.25)*(1-1-1) = .75

    This is not what the book has, but it is organized weird to me. It asks for EM twice, first w/ step size h=.25, then h=0.1. But the way the answers are listed in the back do not correspond with this so I am not sure what they are getting. Curious if folks agree w/ me here on y1, y2. Thanks in advance.
     
  2. jcsd
  3. Sep 10, 2010 #2

    gabbagabbahey

    User Avatar
    Homework Helper
    Gold Member

    Why are using using [itex]x_2=1[/itex]?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook