Hi,

From the link:
http://www.emesystems.com/BS2math3.htm#arcCos

Here is a simple demo program that illustrates the use of the SIN and COS on the BASIC Stamp. It steps through all the angles from 0 to 360. The angle is printed in degrees and the cosine and sine of the angle are printed as decimal numbers in the range of -1.00 to +1.00.

Luciano