1 / 15

Euler’s Method

Euler’s Method. Section 6.6. Suppose we are given a differential equation and initial condition:. Then we can approximate the solution to the differential equation by its linearization (which is “close enough” in a short interval about x ). 0. The basis of Euler’s method is to “string

gwidon
Download Presentation

Euler’s Method

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Euler’s Method Section 6.6

  2. Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization (which is “close enough” in a short interval about x ). 0 The basis of Euler’s method is to “string together” many linearizations to approximate a curve. (solution curve)

  3. Now, let’s specify a new value for the independent variable: If dx is small, then we have a new linearization: From the point , which lies exactly on the solution curve, we have obtained the point , which lies very close to the point on the solution curve.

  4. Second Step: We use the point and the slope of the solution curve through . Setting , we use the linearization of the solution curve through to calculate This gives us the next approximation to values along the solution curve . Continue the pattern to find the third approximation: Let’s see this process graphically…

  5. Three steps in the Euler approximation to the solution of the initial value problem , Euler approximation Error True solution curve

  6. Using Euler’s Method Find the first three approximations using Euler’s method for the initial value problem starting at with We have:

  7. Using Euler’s Method Find the first three approximations using Euler’s method for the initial value problem starting at with First Approximation

  8. Using Euler’s Method Find the first three approximations using Euler’s method for the initial value problem starting at with Second Approximation

  9. Using Euler’s Method Find the first three approximations using Euler’s method for the initial value problem starting at with Third Approximation

  10. Using Euler’s Method Use Euler’s method to solve the given initial value problem on the interval starting at with . Compare the approximations to the values of the exact solution. Let me show you a new calculator program!!!

  11. x y (Euler) y (exact) Error 0 –2 –2 0 0.1 –1.8000 –1.8048 0.0048 0.2 –1.6100 –1.6187 0.0087 0.3 –1.4290 –1.4408 0.0118 0.4 –1.2561 –1.2703 0.0142 0.5 –1.0905 –1.1065 0.0160 0.6 –0.9314 –0.9488 0.0174 0.7 –0.7783 –0.7966 0.0183 0.8 –0.6305 –0.6493 0.0189 0.9 –0.4874 –0.5066 0.0191 1.0 –0.3487 –0.3679 0.0192

  12. Other Practice Problems Use differentiation and substitution to show that the given function is the exact solution of the given initial value problem. The same! The same! Initial Condition:

  13. Other Practice Problems Use analytic methods to find the exact solution of the given initial value problem.

  14. Other Practice Problems Use analytic methods to find the exact solution of the given initial value problem. Initial Condition: Solution: or

  15. Other Practice Problems Use analytic methods to find the exact solution of the given initial value problem. Solution: Initial Condition:

More Related