Snippet Name: Sine, Cosine, and Tangent
Description: Easy way to get the Sine, Cosine, and Tangent.
Comment: (none)
Language: PHP
Highlight Mode: PHP
Last Modified: March 07th, 2009
|
// replace "60" with your number, and
// you'll get the result for Sine.
ECHO SIN(60);
// replace "60" with your number, and
// you'll get the result for Cosine.
ECHO COS(60);
// replace "60" with your number, and
// you'll get the result for Tangent.
ECHO TAN(60); |