Scratch for Java

Operators::tanOf()

"tan" is the abbreviation for "tangent." The tangent of an angle is the ratio between the length of the side adjacent to it and the side opposite of it. In the picture above, the tangent of angle A is equal to side "opposite" divided by side "adjacent".

Syntax

Java

.tanOf(x)

Parameters

Name Data Type Description
x double an angle between [0, ..., 360]

Return

double

tanOf()