tan

(PHP 4, PHP 5, PHP 7, PHP 8)

tanTangens

Beschreibung

tan(float $num): float

tan() berechnet den Tangens des Winkels num. Der Parameter num ist im Bogenmaß.

Parameter-Liste

num

Ein Winkel in Bogenmaß.

Rückgabewerte

Der Tangens des Winkels num.

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

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