PHP.nl

tan

tan

Tangent

float **tan** float $num
returns the tangent of the 

parameter. The parameter is in radians. tan``num``num

numThe argument to process in radians

The tangent of num

Voorbeeld: example

<?php

echo tan(M_PI_4); // 1

?>

atan``atan2``sin``cos``tanh``deg2rad