Python atan function

atan(x) function returns the arctangent value of x. It's a method of math module.

>>> import math
>>> math.atan(0)
0.0
>>> math.atan(1)
0.7853981633974483
>>> math.atan(0.5)
0.4636476090008061
>>> math.atan(math.pi)
1.2626272556789118














endmemo.com © 2024  | Terms of Use | Privacy | Home