|
|
Das Heron-Verfahren
Iterative Bestimmung von
.
Die Iterationsvorschrift:
> |
heron:= x -> 1/2*(x + a/x); |


Wahl eines Startwertes:
![x[alt] := 4](images-heron/heron4.gif)
> |
x[neu]:= heron (x[alt]); |
![x[neu] := 29/8](images-heron/heron5.gif)
> |
while (abs(x[neu]-x[alt]) > 1/1000000) do
x[alt]:= x[neu]:
x[neu]:= heron (x[alt]):
print (x[neu]);
od: |



|