
回答:
説明:
#sqrt(21)~~ 4.58257569495584000658#
これは繰り返しの連続分数として表現できます。
#sqrt(21)= 4; bar(1,1,2,1,1,8) = 4 + 1 /(1 + 1 /(1 + 1 /(2 + …)))#
これを計算する方法を見るためにhttp://socratic.org/questions/given-an-integer-n-is-there-an-efficient-way-to-find-integers-pq-such-that-abs-#を見てください。 176764
私達はのためのよい近似を得ることができます
#sqrt(21)~~ 4; 1,1,2,1,1 = 4 + 1 /(1 + 1 /(1 + 1 /(2 + 1 /(1 + 1/1))))) = 55/12 = 4.58ドット(3)#
これは良い近似です。