Mathematics — Number Theory · continued-fractions-square-roots
Problem
(a) Compute the continued fractions for 5 and 23.
(b) Using the continued fraction for 5, find the first convergent which gives a rational approximation to 5 accurate to four decimal places.