Coding challenge

Write some code to find numbers $a$ and $b$ that are in the "golden ratio" of one another, or have the property that $\frac{a+b}{a}=\frac{a}{b}$. What ratio to $a$ and $b$ have in this case (ans: 1.618...).

Type your code here:

Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: