HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Math Methods : Return the arc tangent of different numbers
The math.atan()
method returns the
arc tangent of a number (x) as a numeric value between -PI/2 and PI/2
radians.
Arc tangent is also defined as an inverse tangent function of x, where x is the value of the arc tangent is to be calculated.
Parameter | Description |
---|---|
x | Required. A positive or negative number. If x is not a number, it returns error a TypeError |
Return Value: | A float value, from -PI/2 to PI/2, representing the arc tangent of
a number |
---|---|
Python Version: | 1.6.1 |