suche nach in der

tanh> <srand
Last updated: Sat, 07 Jan 2012

view this page in

tan

(PHP 4, PHP 5)

tanTangent

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() - Arkustangens
  • atan2() - Arkustangens-Variante mit zwei Parametern
  • sin() - Sinus
  • cos() - Kosinus
  • tanh() - Tangens Hyperbolikus
  • deg2rad() - Rechnet einen Winkel von Grad in Bogenmaß um



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

tanh> <srand
Last updated: Sat, 07 Jan 2012