Name

atan()

Examples
a = PI/3
t = tan(a)
at = atan(t)
# Prints "1.0471976 : 1.7320509 : 1.0471976"
print("%.7f : %.7f : %.7f" % (a, t, at))
a = PI + PI/3.0
t = tan(a)
at = atan(t)
# Prints "4.1887903 : 1.7320513 : 1.0471977"
print("%.7f : %.7f : %.7f" % (a, t, at))
Description The inverse of tan(), returns the arc tangent of a value. This function expects the values in the range of -Infinity to Infinity (exclusive) and values are returned in the range -PI/2 to PI/2 .
Syntax
atan(value)
Parameters
valuefloat: the value whose arc tan is to be returned
Related tan()
asin()
acos()
Updated on Tue Jul 11 06:52:23 2017.
Creative Commons License