PrecisionCalc
xl
Precision
Get Your Numbers Right

 

xlpTAN

Returns the tangent of an angle, with up to 32,767 significant digits of precision. Same as Excel's built-in TAN function, but with high precision.

For any given angle in a right triangle, the angle's tangent is the length of the side opposite the angle, divided by the length of the side between the angle and the right angle (the "adjacent" side).

Syntax

xlpTAN(num,maximum_significant_digits)

num Required. The angle, in radians, for which to find the tangent.
maximum_significant_digits Optional. Determines the maximum number of significant digits to be returned. Default is 100, or the user's custom maximum set in the About box, or the maximum number allowed by the edition of xlPrecision, whichever is less.

Remarks

Examples

Formula Description
=xlpTAN(0.25) Tangent of angle of 0.25 radians.
=xlpTAN(xlpRADIANS(15)) Tangent of angle of 15 degrees.

See Also

xlpSIN
xlpCOS
xlpATAN