1. Computing & Technology

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

©2012 About.com. All rights reserved.

A part of The New York Times Company.