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
view this page in
(PHP 4, PHP 5)
tan — Tangente
La funzione tan() restituisce la tangente del parametro arg . Il parametro arg deve essere espresso in radianti.
Example #1 Esempio per tan()
<?php echo tan(M_PI_2); // 1 ?>
Vedere anche: atan(), sin(), cos() e deg2rad().
To find cotangent you can use tan (M_PI/2 - $alfa)