1. Computing

Discuss in my forum

Tan () PHP Function

By , About.com Guide

Definition: The Tan () function is a mathematical function used to calculate the tangent of a given number. The result is returned in radians. It is phrased as: Tan (your_number) ;
Also Known As: Tangent, Tan
Examples:
 <?php 
 echo tan(M_PI_2) ;
 ?> 
This returns a value of 1
Related Video
Basic PHP Syntax
Using PHP With HTML
  1. About.com
  2. Computing
  3. PHP / MySQL
  4. PHP Functions
  5. PHP Tangent - PHP Tan - Tan Function

©2013 About.com. All rights reserved.