In mathematics, repetition is commonly used when computing approximations. For example, consider the problem of computing the square root of a real number. It has been known since the first century A.D. that if guess is an approximation to the square root of x, then we can get a better approximation by averaging guess and x/guess.
Take a look at ``sroot1.f'' from your ``examples'' directory (or view it directly). The interesting part of the code is the implementation of the ``SROOT'' function. The main program uses ``SROOT'' to compute the square root of a real number and prints out that result, along with the value computed by the intrinsic function ``SQRT''. That way, you can compare how the two functions perform. Run the program a few times to get a feel for how it works.
Here are a couple of questions to think about
Hamlet Project