Difference between revisions of "Trig Functions"
Line 2: | Line 2: | ||
[[Category:Doc Status C]] <!-- For Lumina use, do not change --> | [[Category:Doc Status C]] <!-- For Lumina use, do not change --> | ||
− | = Trigonometric Functions = | + | == Trigonometric Functions == |
+ | <tip title="Important"> | ||
+ | Analytica's trigonometric functions operate using ''degrees'', not radians. | ||
+ | </tip> | ||
− | + | == Function Radians == | |
− | + | :[[Radians]](Degrees: atomic numeric) | |
− | = Function Radians = | ||
− | |||
− | |||
Converts an angle measure expressed in degrees to the equivalent measure expressed in radians. | Converts an angle measure expressed in degrees to the equivalent measure expressed in radians. | ||
− | = Function Degrees = | + | == Function Degrees == |
− | + | :[[Degrees]](Radians: numeric atomic) | |
− | |||
Converts an angle measure expressed in radians to an equivalent degree measure. | Converts an angle measure expressed in radians to an equivalent degree measure. | ||
− | = Functions Cos, Sin and Tan = | + | == Functions Cos, Sin and Tan == |
+ | Basic trigonometric functions. Parameter is in degrees. | ||
− | + | :<code>Sin(90) → 1</code> | |
+ | :<code>Cos(Degrees(Pi)) → -1</code> | ||
− | + | == Functions ArcCos, ArcSin, ArcTan, ArcTan2 == | |
− | + | :[[ArcCos]](X: Numeric atomic) | |
− | + | :[[ArcSin]](X: Numeric atomic) | |
− | = Functions ArcCos, ArcSin, ArcTan, ArcTan2 = | + | :[[ArcTan]](X: Numeric atomic) |
− | + | :[[ArcTan2]](Y, X: Numeric atomic) | |
− | |||
− | |||
− | |||
− | |||
Inverse trig functions. Results are in Degrees. | Inverse trig functions. Results are in Degrees. | ||
The range of the results are as follows: | The range of the results are as follows: | ||
− | {| | + | :{| class="wikitable" |
!Function !! Range (in degrees) | !Function !! Range (in degrees) | ||
|- | |- | ||
Line 47: | Line 44: | ||
|} | |} | ||
− | Note: ArcTan2(0,0) returns 0. | + | Note: <code>ArcTan2(0, 0)</code> returns 0. |
− | = Functions CosH, SinH, TanH = | + | == Functions CosH, SinH, TanH == |
+ | Hyperbolic trig functions. The parameter is in degrees. | ||
− | + | An xy-graph of <code>Sin(x)</code> vs. <code>Cos(x)</code> plots a circle. | |
− | + | Analoguously, an xy-graph of <code>SinH(x)</code> vs. <code>CosH(x)</code> plots a hyperbola (on the right side of the y-axis): | |
− | |||
− | + | :[[image:SinH vs CosH.png|plot for -90≤x≤90]] | |
− | |||
Although the parameter is specified in degrees, it does not denote an angle to the point on the hyperbola. | Although the parameter is specified in degrees, it does not denote an angle to the point on the hyperbola. | ||
− | = Functions ArcCosH, ArcSinH, ArcTanH = | + | == Functions ArcCosH, ArcSinH, ArcTanH == |
− | + | Inverse hyperbolic trigonometric functions. The returned value is in degrees. | |
− | |||
− | + | ==See Also== | |
+ | * [[Exp]] | ||
+ | * [[Complex Numbers]] | ||
+ | * [[Complex number functions]] | ||
+ | * [[Advanced math functions]] |
Revision as of 03:15, 19 January 2016
Trigonometric Functions
Analytica's trigonometric functions operate using degrees, not radians.
Function Radians
- Radians(Degrees: atomic numeric)
Converts an angle measure expressed in degrees to the equivalent measure expressed in radians.
Function Degrees
- Degrees(Radians: numeric atomic)
Converts an angle measure expressed in radians to an equivalent degree measure.
Functions Cos, Sin and Tan
Basic trigonometric functions. Parameter is in degrees.
Sin(90) → 1
Cos(Degrees(Pi)) → -1
Functions ArcCos, ArcSin, ArcTan, ArcTan2
- ArcCos(X: Numeric atomic)
- ArcSin(X: Numeric atomic)
- ArcTan(X: Numeric atomic)
- ArcTan2(Y, X: Numeric atomic)
Inverse trig functions. Results are in Degrees. The range of the results are as follows:
Function Range (in degrees) ArcCos 0 to 180 ArcSin -90 to 90 ArcTan -90 to 90 ArcTan2 -180 to 180
Note: ArcTan2(0, 0)
returns 0.
Functions CosH, SinH, TanH
Hyperbolic trig functions. The parameter is in degrees.
An xy-graph of Sin(x)
vs. Cos(x)
plots a circle.
Analoguously, an xy-graph of SinH(x)
vs. CosH(x)
plots a hyperbola (on the right side of the y-axis):
Although the parameter is specified in degrees, it does not denote an angle to the point on the hyperbola.
Functions ArcCosH, ArcSinH, ArcTanH
Inverse hyperbolic trigonometric functions. The returned value is in degrees.
Enable comment auto-refresher