Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Math.atan()

2 tags 1 category

The Math.atan() static method returns the inverse tangent (in radians) of a number, that is

𝙼𝚊𝚝𝚑.𝚊𝚝𝚊𝚗(𝚡)=arctan(x)=the unique y∊[−π2,π2] such that tan(y)=xmathtt{operatorname{Math.atan}(x)} = arctan(x) = text{the unique } y in left[-frac{pi}{2}, frac{pi}{2}right] text{ such that } tan(y) = x

Because atan() is a static method of Math, you always use it as Math.atan(), rather than as a method of a Math object you created (Math is not a constructor).

Return value: The inverse tangent (angle in radians between -π2-frac{pi}{2} and π2frac{pi}{2}, inclusive) of x. If x is Infinity, it returns π2frac{pi}{2}. If x is -Infinity, it returns -π2-frac{pi}{2}.

Syntax example: Math.atan(x)

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…