How to use atan in PHP
This article describe about atan() Function in PHP.
atan() Function
The arctangent of a number as a numeric value between -PI/2 and PI/2 radians return by the atan() function.
Syntax
Parameter |
Description |
a |
Required. A number |
Example
<html>
<body>
<?php
echo(atan(0.60) . "<br />");
echo(atan(-0.60) . "<br />");
echo(atan(6) . "<br />");
echo(atan(12) . "<br />");
echo(atan(-6) . "<br />");
echo(atan(-12))
?>
</body>
</html> |
Output

You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here