FH-Lausitz
Vorlesung Finanzmathematik Prof. Redetzky
Quellenangabe:
Vorlesung Finanzmathematik
Aufgabenblatt
Numerische Lösung von Gleichungen
präsentiert von:
Ebermann, Dirk / Jurk, Daniel WP03dual
Formelblatt
Numerische Lösungen von Gleichungen
1. Regula Falsi Prüfung mit:
( )
x1f f
( )
x3 < 0, dann Nullstelle( ) ( ) ( )
22 1 1 11
3 f x
x f x f
x x x
x −
− −
= f
( )
x1 f( )
x3 < 0, dann x2 = x3( )
x2f f
( )
x3 < 0, dann x1 =x32. Halbierungsverfahren Prüfung mit:
( )
x1f f
( )
x3 < 0, dann Nullstelle 21 2 3
x
x x +
= f
( )
x1 f( )
x3 < 0, dann x2 = x3( )
x2f f
( )
x3 < 0, dann x1 =x33. Tangentenverfahren nach Newton Prüfung mit:
( ) ( ) ( )
o oo
x f
x f x f
'
⋅ ''
< 0, dann Nullstelle
( ) ( )
111 ' −
− − −
=
n n n
n f x
x x f
x f
( )
xn > C, dann weiter( )
xnf < C, dann fertig
1. Bestimme die Nullstellen der folgenden Funktionen durch Auflösung der entsprechenden Gleichungen.
a) y=x5 −32 e) y =4x −256
5 32
=
x ln4
256
= ln x
=2
x x =4
b) y=4x3 +108 f) y=0,25x−256
- x=3 27 x =−4
3
− x=
c) y=x7 −12 g) y =12,1x −173
7 12
=
x x=2,0669
426 ,
=1 x
d) y=3x −9 h) y=0,4x −0,7
3 ln
9
= ln
x x=0,3893
=2 x
2. a) Die Funktion hat eine Nullstelle zwischen den Punkten und . Bestimme einen Näherungswert für diese Nullstelle mit der Regula Falsi. Die Schranke liegt bei
.
8 36 21
2 3 − 2 + +
= x x x
y x1 =2
2 =3 x
001 ,
=0 c
( )
x1 =12f f
( )
x2 =−19(1) 3 1 f
( ) ( ) ( )
x22 f1 x1 f x1 xx x
x ⋅
−
− −
= =
(
19)
12 122
2 3 ⋅
−
−
− −
Æ
3871 ,
3 =2
x f
( )
x3 =1,4771( ) ( )
x2 ⋅ f x3 =−19⋅1,4771=−28<0f Æ x1 =x3
(2) 1,4771 2,4313
4771 , 1 19
3871 , 2 3871 3
,
3 2 ⋅ =
−
−
− −
=
x Æ f
( )
x3 =0,1348( ) ( )
x2 ⋅f x3 =−19⋅0,1348<0f Æ x1 =x3
(3) 0,1348 2,4353
1348 , 0 19
4313 , 2 4313 3
,
3 2 ⋅ =
−
−
− −
=
x Æ f
( )
x3 =0,0119( ) ( )
x2 ⋅ f x3 =−19⋅0,0119<0f Æ x1 =x3
(4) 0,0119 2,435669
0119 , 0 19
4353 4353 3
,
3 2 ⋅ =
−
−
− −
=
x Æ f
( )
x3 =0,0011( ) ( )
x2 ⋅f x3 =−19⋅0,0011<0f Æ x1 =x3
(5) 0,0011 2,435701
0011 , 0 19
4357 , 2 4357 3
,
3 2 ⋅ =
−
−
− −
=
x Æ f
( )
x3 =0,00009Æ Abbruch
( )
x cf 3 <
2. b) Die Funktion hat eine Nullstelle zwischen den Punkten und . Bestimme einen Näherungswert für diese Nullstelle mit dem Halbierungsverfahren. Die Schranke
liegt bei .
8 36 21
2 3− 2 + +
= x x x
y x1 =2
2 =3 x
001 ,
=0 c
( )
x1 =12f f
( )
x2 =−19(1) 2
1 2 3
x
x = x + =
2 2 3+ Æ
5 ,
3 =2
x f
( )
x3 =−2( ) ( )
x1 ⋅ f x3 =12⋅( )
−2 =−24<0f Æ x2 =x3
(2) 2,25
2 2 5 , 2
3 = + =
x Æ f
( )
x3 =5,46875( ) ( ) (
x2 ⋅f x3 = −19)
⋅5,46875<0f Æ x1 =x3
(3) 2,375
2 25 , 2 5 , 2
3 = + =
x Æ f
( )
x3 =1,8398( ) ( ) (
x2 ⋅ f x3 = −19)
⋅1,84<0f Æ x1 =x3
(4) 2,4375
2 375 , 2 5 , 2
3 = + =
x Æ f
( )
x3 =−0,0552( ) ( ) (
x2 ⋅ f x3 = −19) (
⋅ −0,0552)
<0f Æ x2 =x3
(5) 2,40625
2 375 , 2 4375 , 2
3 + =
=
x Æ f
( )
x3 =0,8987( ) ( ) (
x2 ⋅f x3 = −19)
⋅0,8987<0f Æ x1 =x3
(6) 2,421875
2
40625 , 2 4375 , 2
3 + =
=
x Æ f
( )
x3 =0,42336( ) ( ) (
x2 ⋅ f x3 = −19)
⋅0,42336<0f Æ x1 =x3
(7) 2,4296875 2
421875 ,
2 4375 , 2
3 = + =
x Æ f
( )
x3 =0,1845( ) ( ) (
x2 ⋅ f x3 = −19)
⋅0,1845<0f Æ x1 =x3
(8) 2,43359375
2
4296875 ,
2 4375 , 2
3 + =
=
x Æ f
( )
x3 =0,0648( ) ( ) (
x2 ⋅f x3 = −19)
⋅0,0648<0f Æ x1 =x3
(9) 2,435546875
2
43359375 ,
2 4375 , 2
3 = + =
x Æ f
( )
x3 =0,0048( ) ( ) (
x2 ⋅f x3 = −19)
⋅0,0048<0f Æ x1 =x3
(10) x3 =2,4365234 Æ f
( )
x3 =−0,0251743023(11) x3 =2,4360351 Æ f
( )
x3 =−0,101781264(12) x3 =2,4357909 Æ f
( )
x3 =−0,0026796448(13) x3 =2,4356688 Æ f
( )
x3 =−0,0010693105(14) x3 =2,4357298 Æ f
( )
x3 =−0,0008036081Æ Abbruch
( )
x c f 3 <3. Bestimme näherungsweise mit der Regula Falsi eine Nullstelle von y in [1;2], c=0,001.
1 2
3 3 2
5 − − + +
= x x x x
y
( )
x1 =−2f f
( )
x2 =3(1) 3 1 f
( ) ( ) ( )
x22 f1 x1 f x1 xx x
x ⋅
−
− −
= = 3
( ) ( )
2 21
1 2 ⋅ −
−
−
− −
Æ
4 ,
3 =1
x f
( )
x3 =−4,37376( ) ( )
x2 ⋅ f x3 =3⋅(
−4,37376)
<0f Æ x1 =x3
(2)
( ) (
4,37376)
1,7558937376 , 4 3
4 , 1 4 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−2,96025( ) ( )
x2 ⋅ f x3 =3⋅(
−2,96025)
<0f Æ x1 =x3
(3)
( ) (
2,96025)
1,8771396025 , 2 3
75589 , 1 75589 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−0,70671( ) ( )
x2 ⋅f x3 =3⋅(
−0,70671)
<0f Æ x1 =x3
(4)
( ) (
0,70671)
1,9005670671 , 0 3
87713 , 1 87713 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−0,12146( ) ( )
x2 ⋅f x3 =3⋅(
−0,12146)
<0f Æ x1 =x3
(5)
( ) (
0,12146)
1,9044312146 , 0 3
90056 , 1 90056 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−0,01963( ) ( )
x2 ⋅ f x3 =3⋅(
−0,01963)
<0f Æ x1 =x3
(6)
( ) (
0,01963)
1,9050501963 , 0 3
90443 , 1 90443 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−0,00314( ) ( )
x2 ⋅ f x3 =3⋅(
−0,00314)
<0f Æ x1 =x3
(7)
( ) (
0,00314)
1,9051500314 , 0 3
90505 , 1 90505 2
,
3 1 ⋅ − =
−
−
− −
=
x Æ f
( )
x3 =−0,00050...Æ Abbruch
( )
x c f 3 <4. Die Funktion hat eine Nullstelle zwischen den Punkten . Bestimme diese mit dem Newton-Verfahren. Die Schranke liegt bei
8 36 21
2 3 − 2 +
= x x x
y x1 =2
001 ,
=0
c .
( )
1 121 = f x =
y 36
42 6
'= x2 − x+
y y'1= f'
( )
x1 =−24 4212 ''= x−
y y ''1= f ''
( )
x1 =−18( ) ( ) ( ) (
1)
21 1
' '' x f
x f x
f ⋅
=
( )
(
24)
0,375 0,375 118 12
2 = − = <
−
−
⋅ Æ Nullstelle
1. Interation:
1 1 1
2 y'
x y
x = −
(
24)
2 12
− −
= 5
,
2 =2
x y2 =
( )
−2 >c Æ weiter(
31,5)
'2= − y
(
12)
2 = −
y
( ) ( ) ( ) (
2)
22 2
' '' x f
x f x
f ⋅
=
( ) ( )
(
31,5)
0,024 0,024 112 2
2 = − = <
−
−
⋅
− Æ Nullstelle
2. Interation:
2 2 2
3 y'
x y
x = −
( )
(
312,5)
5 ,
2 −
− −
=
(
2,4365)
3 = −
x y3 =
(
−0,0247)
>c Æ weiter(
30,7139)
'3= − y
(
12,7619)
3 = −
y
( ) ( ) ( ) (
3)
23 3
' '' x f
x f x
f ⋅
=
( ) ( )
(
30,7139)
0,000334 17619 , 12 247
, 0
2 = <
−
−
⋅
− Æ Nullstelle
3. Interation:
3 3 3
4 y'
x y
x = −
( )
(
30,7139)
0247 , 4365 0
,
2 −
− −
=
(
2,4357)
4 = −
x y4 =0,00011136>c Æ Abbruch
5. Die Funktion y= x5 −3x3 −2x2 +x+1 hat Nullstellen in der Nähe von x=2. Bestimme diese mit dem Newton-Verfahren. Die Schranke liegt bei c=0,001.
1 2
3 3 2
5 − − + +
=x x x x
y y1 =4
1 4 9 5
'= x4 − x2 − x+
y y'1=37
4 18 20
''= x3 − x−
y y ''1=120
( ) ( ) ( ) (
1)
21 1
' '' x f
x f x
f ⋅
= 4
( )
37⋅1202 =0,3506<1 Æ Nullstelle1. Interation:
1 1 1
2 y'
x y
x = −
37 2− 4
= 8919
,
2 =1
x y2 =
(
−0,3442)
>c Æ weiter2745 , 25 '2= y
3772 ,
2 =97 y
2. Interation:
2 2 2
3 y'
x y
x = −
( )
2745 , 25
3442 , 8919 0
,
1 − −
= 9055
,
3 =1
x y3 =0,0089 >c Æ weiter
6179 , 26 '3= y
0758 ,
3 =100 y
3. Interation:
3 3 3
4 y'
x y
x = −
6179 , 26
0089 , 9055 0 ,
1 −
= 9052
,
4 =1
x y4 =0,000899>c Æ Abbruch