1. Home
  2. Computing & Technology
  3. PHP / MySQL

Geometry Functions in PHP
A List of Geometry Related PHP Functions

By Angela Bradley, About.com

There are several PHP functions that are directly related to geometry. Here is a quick list of these functions to help you find what you need quickly.

Acos () PHP Function - This function calculates the arc cosine of a number.

Asin () PHP Function - This function calculates the arc sine of a number.

Atan () PHP Function - This function calculates the arc tangent of a number in radians.

Atan2 () PHP Function - This function calculates the arc tangent using the coordinates for a point.

Cos () PHP Function - This function calculate the cosine of a number in radians.

Cosh () PHP Function - This function is used to calculate the hyperbolic cosine.

Hypot () PHP Function - Use this function to calculate the hypotenuse of a right triangle.

Pi () PHP Function - All things Pi and Pi related with PHP

Rad2Deg () PHP Function - This allows you to convert your calculations from radians to degrees.

Sin () PHP Function - This function allows you to calculate the sine.

Sinh () PHP Function - This function is for calculating the hyperbolic sine.

Sqrt () PHP Function - This function is used to calculate the square root of a number.

Tan () PHP Function - This function calculates the tangent.

Tanh () PHP Function - This is used to calculate the hyperbolic tangent of a number.

More PHP / MySQL Quick Tips
Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL
  4. Learn MySQL
  5. PHP Geometry Functions - Geometry with PHP

©2009 About.com, a part of The New York Times Company.

All rights reserved.