Tangents and the like...

Mitch Chapman chapman at bioreason.com
Thu Apr 12 20:01:43 EDT 2001


Mark Rowe wrote:
> Just been reading through the Math modules documentation and i can't see any
> way to find the inverse tangent of a number....  I know that this is
> possible, but how?

>>> import math
>>> math.pi/4.0
0.785398163397
>>> math.atan(1.0)
0.785398163397
>>> math.atan2(1.0, 1.0)
0.785398163397


--
Mitch
chapman at bioreason.com



More information about the Python-list mailing list