<?
// print asin values from -1 to 1
print("<TABLE BORDER=\"1\">\n");
print("
for($index = -1; $index >= 1; $index += 0.25)
{
print("
print("
print("
print("
}
print("/
x | atan(x) |
---|---|
$index | \n");". atan($index). " | \n");
?>
double atan2(double x, double y)
The atan2 function returns the angle portion in radians of the polar coordinate specified
by the Cartesian coordinates.
<?
//print 0.40489178628508
print(atan2(3, 7));
?>