FEEDBACK
...go ahead and read the manual, we won't tell anyone.

atan

Tags: Function, Math | Has 0 comments
The atan function returns the trigonometric arc tangent (inverse tangent) of the number passed to it; that is, the angle whose tangent is equal to the given value. The result is expressed in radians. Radians can be converted to degrees by multiplying by 180 and dividing the result by the value of the constant pi.



Examples:

on mouseUp
    put atan(1.0) into field "arcTan" --yields 0.785398
end mouseUp

The following example handler converts a value in radians to degrees and puts the result into a variable, which is then displayed using the answer command.


on radiansToDegrees
    put round((atan(var)*180)/pi) into theVar
    answer theVar
end radiansToDegrees

Usage:

Factor and expression yield numbers.


on mouseUp
    the atan of {factor}
    atan({expression})
end mouseUp


Go ahead and login/signup to leave a comment!

Latest Blog PostsView All >

Video Demos Of Some Great New Features!

posted on November 09, 2009 by Jake Marsh

With all the hustle and bustle of developing and releasing these latest awesome features, it totally...

TileStack.com Release Delicass v0.8 Has Landed!

posted on November 04, 2009 by Ted

After two months of good development, I'm pleased to announce TileStack version 0.8 "Delicass"...

Made by the genuine people personalities of    Copyright © 2008-2009 - All Rights Reserved