Get arc tangent of different numbers with the atan() function in PHP
Description
The following code shows how to get arc tangent of different numbers with the atan() function.
Example
//from www .j a va 2s. co m
<?php
echo(atan(0.50) . "<br>");
echo(atan(-0.50) . "<br>");
echo(atan(5) . "<br>");
echo(atan(-5) . "<br>");
echo(atan(100) . "<br>");
echo(atan(-100));
?>
The code above generates the following result.