Php asin
From w3cyberlearnings
Contents |
PHP function asin
This function returns the arc sine of a sine input numer, and it is in the range of -PI/2 and PI/2 radians. Return Null when the input is not in the range -1 to 1.
Syntax asin
X is a radian number in the range -1 to 1.
asin(X);
Example 1
<?php echo asin(1); echo "<br/>"; echo asin(-0.3); ?>
Output
1.5707963267949 -0.3046926540154