Return the arc tangent of different numbers:
#Import math Library
import math
#fReturn the arc tangent of different numbers
print (math.atan(0.39))
print (math.atan(67))
print (math.atan(-21))
Try it Yourself » Definition and UsageThe 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.
Syntax Parameter Values Parameter Description x Required. A positive or negative number. If x is not a number, it returns error a TypeError Technical Details Return Value: Afloat
value, from -PI/2 to PI/2, representing the arc tangent of a number Python Version: 1.6.1
Track your progress - it's free!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4