Tangent Function

Summary

The tangent function returns the tangent ratio of the input angle. In geometric terms, the function returns the length of the line tangent to the point on the unit circle.

Syntax

tan(θ)

Arguments

Name Description
θ (theta) The angle provided in radians.

Usage

Given an angle measured in radians, returns the ratio of vertical over the horizontal component of the corresponding point on the unit circle. This can be visualized by drawing the point that forms the angle on the unit circle.

For example, given the angle as input, the function returns the value , because at that point the x-component and y-component are the same value which is .

The output of the function can also be visualized as the length of the line tangent to the point on the unit circle.

Related

Given a number representing the ratio of a right triangle's opposite side over its adjacent side returns the corresponding angle.

Given the x and y components of a point, returns the angle associated with the point.

Given the angle of a right triangle as input, returns the ratio of the adjacent side over the opposite side.