tan

(PHP 3, PHP 4, PHP 5)

tan -- Tangent

Beschreibung

float tan ( float arg )

tan() berechnet den Tangens des Winkels arg.

Parameter Liste

arg

Ein Winkel in Bogenmaß

Rückgabewerte

Der Tangens des Winkels arg

Beispiele

Beispiel 1. tan() Beispiel

<?php

echo tan(M_PI_4); // 1

?>

Siehe auch

atan()
atan2()
sin()
cos()
tanh()
deg2rad()