0% found this document useful (0 votes)
69 views

Euler's Method Examples

This document provides two examples of using Euler's method to approximate solutions to differential equations. The first example uses Euler's method in two steps to approximate the value of f(3), given an initial condition of f(2)=0. The second example uses Euler's method in two steps to approximate the value of f(4.4), given values for f' and an initial condition of f(4)=2.

Uploaded by

Yoyo Kirby2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views

Euler's Method Examples

This document provides two examples of using Euler's method to approximate solutions to differential equations. The first example uses Euler's method in two steps to approximate the value of f(3), given an initial condition of f(2)=0. The second example uses Euler's method in two steps to approximate the value of f(4.4), given values for f' and an initial condition of f(4)=2.

Uploaded by

Yoyo Kirby2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Eulers Method Examples

5) The curve passing through ( 2, 0 ) satisfies the differential equation


Find an approximation to f ( 3 )

dy
=4 x + y
.
dx

using Eulers Method with two equal steps.

The step size is the difference in


32
x=
=0.5
.
2

x divided by the number of steps, or

f ( 2 )=0 , f ' ( 2 )=4 ( 2 ) +0=8


f ( x + x )=f ( x ) +f ' ( x ) x

Eulers Method

f ( 2+0.5 ) =f ( 2 ) + f ' ( 2 ) ( 0.5 )


f ( 2.5 ) =0+8 ( 0.5 ) =4 , f ' ( 2.5 )=4 ( 2.5 ) + 4=14
f ( 2.5+0.5 )=f ( 2.5 ) + f ' ( 2.5 )( 0.5 )
f ( 3 ) =4+ 14 ( 0.5 )=11
6) Assume that f

'
and f

have the values given in the table. Use Eulers method with

two equal steps to approximate the value of f ( 4.4 ) .


x

4.2

4.4

f ' (x)

0.5

0.3

0.1

f (x)

x=0.2
'
f ( 4+0.2 ) =f ( 4 ) +f ( 4 ) ( 0.2 )

f ( 4.2 )=20.5 ( 0.2 ) =1.9


f ( 4.2+ 0.2 )=f ( 4.2 )+ f ' ( 4.2 ) ( 0.2 )
f ( 4.4 )=1.90.3 ( 0.2 )=1.84

You might also like