Reference Guide
3-248 Full Command and Function Reference
See also: HEAD
TAN
Type: Analytic function
Description: Tangent Analytic Function: Returns the tangent of the argument.
For real arguments, the current angle mode determines the number’s interpretation as an angle,
unless the angular units are specified.
For a real argument that is an odd-integer multiple of 90 in Degrees mode, an Infinite Result
exception occurs. If flag –22 is set (no error), the sign of the result (MAXR) matches that of the
argument.
For complex arguments:
x iy+( )tan
x
sin
(
)
x
cos
(
)
i
y
sinh
(
)
y
cosh
(
)
+
hsin
2
y cos
2
x+
-------------------------------------------------------------------------------=
If the argument for TAN is a unit object, then the specified angular unit overrides the angle mode
to determine the result. Integration and differentiation, on the other hand, always observe the
angle mode. Therefore, to correctly integrate or differentiate expressions containing TAN with a
unit object, the angle mode must be set to Radians (since this is a “neutral” mode).
Access: U
Flags: Numerical Results (–3), Angle Mode (–17, –18), Infinite Result Exception (–22)
Input/Output:
Level 1/Argument 1 Level 1/Item 1
z
→
tan z
'symb'
→
'TAN(symb)'
x_unit
angular
→
tan (x_unit
angular
)
See also: ATAN, COS, SIN
TAN2CS2
Type: Command
Description: Replaces tan(x) terms in an expression with (1-cos(2x))/sin(2x) terms.
Access: Catalog, …µ
Input: An expression
Output: The transformed expression.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag –3 clear).
Radians mode must be set (flag –17 set).
Example: Replace tan(x) terms in the function:
x
(
)
tan
(
)
2
Command:
TAN2CS2(TAN(X)^2)
Result:
((1-COS(2*X))/SIN(2*X))^2
See also: TAN2SC, TAN2SC2
TAN2SC
Type: Command
Description: Replaces tan(x) sub-expressions with sin(x)/cos(x).
Access: P
TRIG
, Trigonometry, …ÑL