The PI () function is used in many mathematical calculations and is approximately equal to 3.14159265358979323846.
The GD Library is usually bundled with PHP, and is used to manipulate graphics with code. You can start by creating graphics that simply consist of text. Later, you can move on to actually drawing the images yourself with the code.
<?php
echo(asin(-0.5));
?>
In our example, we would be given the result -0.5235987755983. More about Asin ().
©2008 About.com, a part of The New York Times Company.
All rights reserved.