In this example we see continued fractions used to give rational approximations to irrational numbers.
The following solution was done by Ling Xiang Ning, Allan, Raffles Institution, Singapore.
Using the quadratic formula to solve the equation