tan

(PHP 4, PHP 5, PHP 7)

tan탄젠트

설명

float tan ( float $arg )

tan()arg 인수의 탄젠트 값을 반환합니다. arg 인수는 라디안으로 주어집니다.

인수

arg

계산할 라디안 인수

반환값

arg의 탄젠트

예제

Example #1 tan() 예제

<?php

echo tan(M_PI_4); // 1

?>

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top