On Apr 3, 6:09 pm, [EMAIL PROTECTED] wrote: > On Apr 3, 11:58 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I have a math function that looks like this > > sin (Theta) = 5/6 > > How do I find Theta (in degrees) in python? I am aware of the math.sin > > function, but is there a reverse? maybe a sine table in python? > > Thanks > > Astan > > import math > If you now do > dir(math) > you'll see that the module has the functions 'asin' and 'degrees' that > find the inverse sine of a number, and convert radians to degrees, > respectively
Better yet, do help(math) which will display the docstrings. -- http://mail.python.org/mailman/listinfo/python-list