A continued fraction representation of the tangent using J.H. Lambert’s formula:

where x is in radians.
k specifies the number of terms to compute:
A continued fraction representation of the tangent using J.H. Lambert’s formula:
where x is in radians.
k specifies the number of terms to compute: