1 / 11

Euler’s Method

Euler’s Method. A Numerical Technique for Building a Solution to a DE or system of DE’s. This is the slope field for. Slope Fields . We get an approx. graph for a solution by starting at an initial point and following the arrows. Euler’s Method. Here’s how it works.

gabe
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 A Numerical Technique for Building a Solution to a DE or system of DE’s

  2. This is the slope field for Slope Fields We get an approx. graph for a solution by starting at an initial point and following the arrows.

  3. Euler’s Method Here’s how it works. We can also accomplish this by explicitly computing the values at these points. We start with a point on our solution. . . . . . and a fixed small step size Dt. . . . then we project a small distance along the tangent line to compute the next point, . . . Dt . . . and repeat!

  4. Projecting Along a Little Arrow Dy Dt

  5. Projecting Along a Little Arrow slope Dy= slope Dt = f (t0,y0) Dt Dt

  6. Projecting Along a Little Arrow slope = (t0 +Dt, y0+ Dy) = (t0 +Dt, y0+f (t0,y0) Dt) Dt

  7. Projecting Along a Little Arrow = (told +Dt, yold+ Dy) = (told +Dt, y0+ f (told , yold) Dt)

  8. Summarizing Euler’s Method You need a differential equation of the form , an initial condition (t0,y0), A smaller step size will lead to more accuracy, but will also take more computations. and a fixed step size Dt. tnew=told+ Dt ynew = y0+ f (told , yold) Dt

  9. For instance, if and (1,1) lies on the graph of y, then 1000 steps of length .01 yield the following graph of the function y. This graph is the anti-derivative of sin(t 2); a function which has no elementary formula!

  10. Exercise Start with the differential equation , the initial condition , and a step size of Dt = 0.5. Compute the next two (Euler) points on the graph of the solution function.

  11. Exercise Start with the differential equation , the initial condition , and a step size of Dt = 0.5.

More Related