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

Help with implicit euler method

  1. May 27, 2014 #1
    I don't understand this backward euler solution, in particular why the f(y,t+h) is equal to y(t+2)

    Attached Files:

  2. jcsd
  3. Jun 11, 2014 #2
    Because it's wrong.

    It should be:


    Since, in this problem y'=-y, you have:


    Solving for y(t+2) gives:
  4. Jun 11, 2014 #3

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    I agree with you there!

    Actually, it should be y(t+h)=y(t)+h*y'(t+h). Given that y'(t)=-y(t), this becomes y(t+h)=y(t)-h*y(t+h), or y(t+h)=y(t)/(1+h).

    Better: ##y(t+2)=\frac {y(t)}{3}##.

    You've already set h=2.
  5. Jun 11, 2014 #4
    Thanks DH. I'm usually more careful about checking over what I've written before I submit my replies. I hope I didn't confuse the OP too much.

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Help with implicit euler method
  1. Euler method (Replies: 12)

  2. Euler's method (Replies: 5)

  3. Euler's Method (Replies: 3)