| 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. |
© 20072025 XoaX.net LLC. All rights reserved.