Returns the tangent of a number in degrees.
The tan[] function is a function that returns the tangent of a number. The tangent of an angle is a value that is defined as the ratio of the side opposite the angle to the side adjacent to the angle in a right triangle. The input to the function is an angle in degrees, and the output will be a value.
For example, tan[0] would return 0 and tan[90] would return 16331239353195370.
Tangent is commonly used in trigonometry, engineering, and physics, such as calculating the slope of a line, or the ratio of the velocity of an object to its acceleration.
tan[x]
#<result> = tan[0] (print,#<result>)
result: 0
#<result> = tan[45] (print,#<result>)
result: 1
#<result> = tan[90] (print,#<result>)
result: 16331239353195370