| Author |
Comment/Response |
yehuda ben-shimol
|
10/28/08 01:24am
FixedPoint[#^0.5 + 1 &, 2.0]
returns
2.61803
If you need to see intermediate results (say 20first iterations) then
NestList[#^0.5 + 1 &, 2.0, 20]
which returns
{2., 2.41421, 2.55377, 2.59805, 2.61185, 2.61612, 2.61744, 2.61785, \
2.61798, 2.61802, 2.61803, 2.61803, 2.61803, 2.61803, 2.61803, \
2.61803, 2.61803, 2.61803, 2.61803, 2.61803, 2.61803}
yehuda
URL: , |
|