The goal is to calculate the golden ratio, that is the positive root of the quadratic equation:
, which is approximately 1.61803399
Sample in Stutsk programming language:
1 100 { 1 + 1 swp / } repeat print The goal is to calculate the golden ratio, that is the positive root of the quadratic equation:
, which is approximately 1.61803399
Sample in Stutsk programming language:
1 100 { 1 + 1 swp / } repeat print