

tan(angle)
Math function; yields the tangent of the specified angle expressed in radians as a floating-point number.
In JavaScript syntax, use the Math object’s tan() function.
angle Required. Specifies the angle from which a tangent is yielded.
The following function yields the tangent of pi/4:
tan (PI/4.0) = 1
The p symbol cannot be used in a Lingo expression.