PHP acos() Function

The acos() function is used to inverse sine numeric value between 0 and PI radians. which is the complementary function of cos().

Demo :



Type No :  

Example :

Example 1: Type No: 0
Example 2: Type No: -1
Example 3: Type No: 1

Following code useful to you for calculate radians between 0 and PI.


<?php
 $acos_no = -1;
 $result = acos($acos_no);
 echo $result;
?>

In the above code is used to calculate for radians.In the acos() functions have used one parameters that name is float number.

Free Download Script :

If you need acos() function demo code download from following link.

Download




Content