Results 1 to 6 of 6

Math Help - Euler's Method to approximate

  1. #1
    Junior Member
    Joined
    Feb 2009
    Posts
    40

    Question Euler's Method to approximate

    Guys, i wanna understand this problem , i don't know how to do this. Please guide me.

    Given the initial value problem: dy/dx = y, y(0)=1. Do the following.
    1. Solve the initial value problem and show that e = y(1).
    2. Apply Euler's method with h = 0.25 to approximate e =y(1).
    3. Apply Improved Euler's method with h = 0.5 to approximate e = y(1).
    4. Apply Runge-Kutta method with h = 1 to approximate e = y(1).
    5. Find the errors of the above approximations of e. Which approximation is the best?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by DMDil View Post
    Guys, i wanna understand this problem , i don't know how to do this. Please guide me.

    Given the initial value problem: dy/dx = y, y(0)=1. Do the following.
    1. Solve the initial value problem and show that e = y(1).
    2. Apply Euler's method with h = 0.25 to approximate e =y(1).
    3. Apply Improved Euler's method with h = 0.5 to approximate e = y(1).
    4. Apply Runge-Kutta method with h = 1 to approximate e = y(1).
    5. Find the errors of the above approximations of e. Which approximation is the best?
    Well what have you done, where are you stuck?

    For 1. you have to solve the initial value ptoblem, which you should be able to do as it is of variables seperable type.

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Master Of Puppets
    pickslides's Avatar
    Joined
    Sep 2008
    From
    Melbourne
    Posts
    5,236
    Thanks
    29
    Quote Originally Posted by DMDil View Post

    Given the initial value problem: dy/dx = y, y(0)=1. Do the following.
    1. Solve the initial value problem and show that e = y(1).
    This is probably one of the easiest DEs to solve

    \frac{dy}{dx}=y

    \frac{dy}{y}=dx

    \ln(y)=x+c

    y=e^{x+c}

    y=Ae^{x}

    you are given y(0)=1 therefore

    1=Ae^{0}

    A=1 and this means

    y=e^{x} to show y(1)=e

    y(1)=e^{1}

    y(1)=e

    Quote Originally Posted by DMDil View Post
    Given the initial value problem: dy/dx = y, y(0)=1. Do the following.

    2. Apply Euler's method with h = 0.25 to approximate e =y(1).
    3. Apply Improved Euler's method with h = 0.5 to approximate e = y(1).
    4. Apply Runge-Kutta method with h = 1 to approximate e = y(1).
    5. Find the errors of the above approximations of e. Which approximation is the best?
    The rest of these questions 2,3 & 4 involve different numerical schemes. Q5 is asking which one is the most accurate compared with your answer to Q1 of y(1)=e.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by pickslides View Post
    This is probably one of the easiest DEs to solve


    ..snippagio..
    That is the point of letting him/her solve it himself, if being told it is of variables separable type s/he can't continue it is better that s/he tells us so we can diagnose the problem rather than provide a sample which s/he might think s/he understands but has only skimmed.

    CB
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Master Of Puppets
    pickslides's Avatar
    Joined
    Sep 2008
    From
    Melbourne
    Posts
    5,236
    Thanks
    29
    Fair call CB, point taken

    although after reading the question I went on the assumption that the poster is doing a course in numericals solutions to DEs. Therefore my solution to part 1 would have only been consequential and assumed knowledge for such a course. If anything I was hoping my assitance would've only acted as a reminder.

    Follow Math Help Forum on Facebook and Google+

  6. #6
    Junior Member
    Joined
    Feb 2009
    Posts
    40
    yeah i was able to figure it out..it takes so many tries to figure out the close approximation...,
    Last edited by DMDil; July 31st 2009 at 04:58 PM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Euler Method - IVP
    Posted in the Differential Equations Forum
    Replies: 1
    Last Post: May 15th 2010, 02:14 AM
  2. using eulers method to approximate solution
    Posted in the Calculus Forum
    Replies: 1
    Last Post: May 10th 2010, 03:04 PM
  3. Replies: 5
    Last Post: December 5th 2009, 11:54 AM
  4. Euler's Method
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: March 11th 2009, 06:33 PM
  5. Euler's Method
    Posted in the Differential Equations Forum
    Replies: 6
    Last Post: March 4th 2009, 07:19 AM

Search Tags


/mathhelpforum @mathhelpforum