PHP atan() Function

The atan() function is used to arctangent of a number as a numeric value between -PI/2 and PI/2 radians.

Demo :



Type No :  

Example :

Example 1: Type No:5
Example 2: Type No:10

Following code useful to you for calculate arctangent of a number as a numeric value between -PI/2 and PI/2 radians.


<?php
 $atan_no = 5;
 $result = atan($atan_no);
 echo $result;
?>

In the above code is used to calculate for arctangent of a number as a numeric value between -PI/2 and PI/2 radians.In the atan() functions have used two parameters that name is float number , float arg.

Free Download Script :

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

Download




Content