array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.tan.php', 1 => 'tan', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Math İşlevleri', ), 'prev' => array ( 0 => 'function.sqrt.php', 1 => 'sqrt', ), 'next' => array ( 0 => 'function.tanh.php', 1 => 'tanh', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/math/functions/tan.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
tan — Tangent
tan() returns the tangent of the num
parameter. The num
parameter is in radians.
num
The argument to process in radians
The tangent of num
Örnek 1 tan() example
<?php
echo tan(M_PI_4); // 1
?>