PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tanh> <srand
Last updated: Fri, 19 Jun 2009

view this page in

tan

(PHP 4, PHP 5)

tanTangente

Descripción

float tan ( float $arg )

tan() devuelve la tangente del parámetro arg . El parámetro arg se encuentra en radianes.

Lista de parámetros

arg

El argumento a procesar en radianes

Valores retornados

La tangente de arg

Ejemplos

Example #1 Ejemplo de tan()

<?php

echo tan(M_PI_4); // 1

?>

Ver también

  • atan() - Arco tangente
  • atan2() - Arco tangente de dos variables
  • sin() - Seno
  • cos() - Coseno
  • tanh() - Tangente hiperbólica
  • deg2rad() - Convierte el número en grados a su equivalente en radianes



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

tanh> <srand
Last updated: Fri, 19 Jun 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites