Results 1 to 3 of 3

Math Help - Euler's Method

  1. #1
    Junior Member
    Joined
    Sep 2007
    Posts
    51

    Euler's Method

    Use Euler's method with step size .2 to estimate y(1), where y(x) is the solution of the initial-value problem y' = 1-xy, y(0)=0.

    Can someone help me with this thanks
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Aug 2007
    From
    USA
    Posts
    3,110
    Thanks
    2
    This is plug-n-chug.

    Use the given point and calculated slope to create a linear approximation of the next point.

    Point: (0,0) Slope: 1 - (0)(0) = 1 Line: y = x Next Point: y = 0.2

    Point: (0.2,0.2) Slope: 0.96 Line: y-0.2 = 0.96*(x-0.2) New Point: y = 0.392

    And so on. In this case, you should see that it wanders off a bit. I get an absolute error of around 0.06 by the time you're done.

    Note: You don't REALLY have to write the equation of the line in each step. That was just for your benefit. Use a little algebra to create more convenient formulations, maybe y_{next}\;=\;y_{prev}\;+\;y'_{prev}*(x_{next}\;-\;x_{prev}).
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Sep 2007
    Posts
    51
    Quote Originally Posted by TKHunny View Post
    This is plug-n-chug.

    Use the given point and calculated slope to create a linear approximation of the next point.

    Point: (0,0) Slope: 1 - (0)(0) = 1 Line: y = x Next Point: y = 0.2

    Point: (0.2,0.2) Slope: 0.96 Line: y-0.2 = 0.96*(x-0.2) New Point: y = 0.392

    And so on. In this case, you should see that it wanders off a bit. I get an absolute error of around 0.06 by the time you're done.

    Note: You don't REALLY have to write the equation of the line in each step. That was just for your benefit. Use a little algebra to create more convenient formulations, maybe y_{next}\;=\;y_{prev}\;+\;y'_{prev}*(x_{next}\;-\;x_{prev}).
    sorry you just confused me with those. where are you getting y = x and the value y = .392 for the 2nd part..?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Euler method
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: May 11th 2011, 04:59 AM
  2. Euler Method - IVP
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: May 15th 2010, 01:14 AM
  3. Euler's method
    Posted in the Calculus Forum
    Replies: 0
    Last Post: March 8th 2010, 04:48 PM
  4. Euler's method
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: February 28th 2009, 11:34 AM
  5. Euler's Method
    Posted in the Advanced Applied Math Forum
    Replies: 1
    Last Post: July 20th 2007, 10:07 AM

Search Tags


/mathhelpforum @mathhelpforum