Docsity

Numerical Solution for Engineering - Slides | EAD 115, Study notes of Engineering

Partial preview of the text

Download Numerical Solution for Engineering - Slides | EAD 115 and more Study notes Engineering in PDF only on Docsity!

EAD 115

Numerical Solution of Engineering

and Scientific Problems^ David M. Rocke Department of Applied Science

Open Methods of Root Finding • Bracketing methods begin with an intervalthat is known to contain at least one root. • These methods are guaranteed to find aroot eventually, though they may be slow. • Open methods begin only with a pointguess. • They are not guaranteed to converge, butmay be much faster.

Fixed Point Iteration

Solve( )^1

Same as solvingIterate

i

x x x

f^ x^ i

x^

e

x^

e

x^

e

− − −

=^

−^

0

1 1

2

3

4

5

24

x x^

e

x^

e

x^

e

x^

e

x^

e

x^

=^ −=^ = −=^ − − − −e

=^

=^

=^

=^

Convergence

-^ Each percent error is about 55% of theprevious one •^ εI+

εi

-^ If^ ε

~ cI+ εwith c < 1, we say that thei^ method is

linearly convergent

Solve( )^1

Same as solving

ln( )

Iterate

ln(^

x )

x i^

i

f^ x^

x^ e

x^ e x^

x

x^

− x

=^ − − +

1 1 ,^1

(^ ,
)^
(^ )
(^ )^
(^ )
'( )^

(Derivative Mean Value Thm)

(^
)^ '( )
(^ )^
(^ )
(^
)^ '( )

r^

i^

r^

i r^

i r^

i

r^

i^

r^

i

r^

i^

r^

i

t i^

t i

x^

x^

g x^

g x

g x^

g x

g^

x^

x

x^

x^ g^

g x^

g x

x^

x^

x^

x^ g

E^

E^ g ξ

ξ

ξ ξ

−^ =^ + + +

=^
−^
=^
−^
=^

Thus the error at iteration i+1 is smaller than theerror at iteration i so long as the derivative isless than 1 in absolute value in a neighborhoodof the root.

Derivative Mean Value Thm

Newton-Raphson

-^ Beginning with a point, its function valueand its derivative, derive a new guess •^ Project the tangent line until it intersectsthe x-axis •^ Approximate the function by a first orderTaylor series, and solve the approximateproblem exactly

  • Fig 6.
  • Fig 6.
  • Fig 6.
  • Fig 6.
  • Fig 6.

( ) '( )^1

1

1

x x

x

i^

i^

x

f^ x

e^

x

f^

x^

e e

x

x^

x^

e − −

−

+^

−

=^

− = −

− −

=^

− −

−

step^

x^

rel^ error

0

0

1

0.^

2

3

2×

4

5×