pi = 3.14159265 v = atn(sqr(3)) print (v * 180) / piproduces
60to illustrate the fact that the tangent of an angle of 60 degrees is the square root of 3.
This example also illustrates that to convert from radians to degrees, the radian measure of an angle must be multiplied by 180/pi.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber