Continued Fraction Approximations of the Tangent Function
Many elementary and special functions have nice continued fraction approximations. This Demonstration allows investigation of the continued fraction approximation of the tangent function. Because any finitely truncated continued fraction approximation is a rational function, it cannot approximate the periodic tangent function globally. But the range of good approximation increases with the number of terms.
continued fraction terms — the number of terms in the continued fraction approximation
"Continued Fraction Approximations of the Tangent Function"
Wolfram Demonstrations Project
Published: March 7 2011