Golden ratio/Convergence: Difference between revisions

Content added Content deleted
(Added Maxima.)
Line 794: Line 794:


=={{header|Maxima}}==
=={{header|Maxima}}==

(''Side note: I notice that Maxima for-loops resemble Algol 60 for-loops. I would think this is not merely accidental.'')

<syntaxhighlight lang="maxima">
<syntaxhighlight lang="maxima">
iterate(phi) := 1 + (1 / phi)$
iterate(phi) := 1 + (1 / phi)$