Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: tan - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tanh" width="11" height="7"/> <srand
Last updated: Fri, 13 Jun 2008

view this page in

tan

(PHP 4, PHP 5)

tan — 正接(タンジェント)

説明

float tan ( float $arg )

tan() は、arg のタンジェントを 返します。arg はラジアンです。

パラメータ

arg

処理する引数をラジアンで表したもの。

返り値

arg のタンジェントを返します。

例1 tan() の例

<?php

echo tan(M_PI_4); // 1

?>



add a note add a note User Contributed Notes
tan
fformula at gmail dot com
10-Apr-2006 09:26
To find cotangent you can use
  tan (M_PI/2 - $alfa)

tanh" width="11" height="7"/> <srand
Last updated: Fri, 13 Jun 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites