Core PHP

Trigonometric Functions

Trigonometric Functions
acos()
double acos(double $dNumber)
This function returns the inverse cosine of $dNumber. The domain of the function is [-1, 1] and the range is [0, π].
Argument Description
double $dNumber This is the independent variable value.
asin()
double asin(double $dNumber)
This function returns the inverse sine of $dNumber. The domain of the function is [-1, 1] and the range is [-π2, π2].
Argument Description
double $dNumber This is the independent variable value.
atan2()
double atan2(double $dSin, double $dCos)
This function returns the inverse tangent of $dSin/$dCos. The domain of the function is (-∞, ∞) for both variables. The simple inverse tangent function that takes only one value has a smaller range of (-π2, π2), but this function uses the signs of the arguments to select a value in the range (-π, π]. These range values correspond to the unit circle with (-π2, π2) selected when $dCos > 0.
Argument Description
double $dSin This is the independent variable value for the numerator.
double $dCos This is the independent variable value for the denominator.
atan()
double atan(double $dNumber)
This function returns the inverse tangent of $dNumber. The domain of the function is (-∞, ∞) and the range is (-π2, π2).
Argument Description
double $dNumber This is the independent variable value.
cos()
double cos(double $dNumber)
This function returns the cosine of $dNumber. The domain of the function is (-∞, ∞) and the range is [-1, 1].
Argument Description
double $dNumber This is the independent variable value.
sin()
double sin(double $dNumber)
This function returns the sine of $dNumber. The domain of the function is (-∞, ∞) and the range is [-1, 1].
Argument Description
double $dNumber This is the independent variable value.
tan()
double tan(double $dNumber)
This function returns the tangent of $dNumber. The domain of the function is (-∞, ∞), except for n*π + π2 for n ∈ ℤ, and the range is (-∞, ∞).
Argument Description
double $dNumber This is the independent variable value.
 
 

© 2007–2024 XoaX.net LLC. All rights reserved.