English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Thetan()
The function returns the tangent of the specified value.
tan(val)
val-radian value
Thetan()
The function returns the tangent of the specified value val.
<?php echo(tan(0) . "<br>"); echo(tan(1) . "<br>"); ?>
Output Result
0<br>1.5574077246549<br>
Let's look at another example-
<?php echo(tan(M_PI_4)); ?>
Output Result
1
Let's look at another example-
<?php echo(tan(0.50) . "<br>"); echo(tan(-0.50)); ?>
Output Result
0.54630248984379<br>-0.54630248984379
Let's look at another example-
<?php echo(tan(-5) . "<br>"); echo(tan(-10)); ?>
Output Result
3.3805150062466<br>-0.64836082745909