72 lines
627 B
Plaintext
72 lines
627 B
Plaintext
Gruppe:
|
|
- Michael Scholz (Matr.# 1576630)
|
|
- David Kaufmann (Matr.# 1481864)
|
|
- Dennis Werner (Matr.# 1513509)
|
|
|
|
|
|
Ausgabe der main-Funktion in Matlab:
|
|
|
|
|
|
1. Aufruf von main liefert:
|
|
==============================
|
|
|
|
>> main
|
|
|
|
x =
|
|
|
|
-3
|
|
0
|
|
0
|
|
|
|
Startwert x
|
|
|
|
x =
|
|
|
|
-3
|
|
0
|
|
0
|
|
|
|
Anzahl Iterationen bei Fixpunkt:
|
|
|
|
it_f =
|
|
|
|
47
|
|
|
|
Loesung:
|
|
|
|
ans =
|
|
|
|
-0.9701
|
|
0.2425
|
|
2.0000
|
|
|
|
Anzahl Iterationen bei Newton:
|
|
|
|
it_n =
|
|
|
|
6
|
|
|
|
Loesung:
|
|
|
|
ans =
|
|
|
|
-0.9701
|
|
0.2425
|
|
2.0000
|
|
|
|
Anzahl Iterationen bei Quasi-Newton:
|
|
|
|
it_qn =
|
|
|
|
14
|
|
|
|
Loesung:
|
|
|
|
ans =
|
|
|
|
-0.9701
|
|
0.2425
|
|
2.0000
|
|
|
|
>>
|