search for in the function list all php.net sites this mirror only online documentation bug database Site News Archive All Changelogs just pear.php.net just pecl.php.net just talks.php.net general mailing list developer mailing list documentation mailing list
(PHP 3, PHP 4, PHP 5)
tan() は、arg のタンジェントを 返します。arg はラジアンです。
例 1. tan() の例
<?php echo tan(M_PI_4); // 1 ?>
atan()、 sin()、 cos() および deg2rad() も参照ください。
To find cotangent you can use tan (M_PI/2 - $alfa)