- #1

- 535

- 72

## Homework Statement

[/B]

I'm helping a 12th grader with his homework, and he is asked to prove the following equality as the conclusion of a problem :

## 1 + \frac{1}{1+ \frac{1}{1+...}} = \sqrt{1+ \sqrt{1+ \sqrt{1+...}}}##

Written like this, the formula is intimidating while it really shouldn't be after working the problem.

But still, I have a doubt now and would like to see the output of a computer program. Can someone with programming skills compare these terms to the golden ratio and print a few outputs ?

Thank you.