Re: sine in python

2008-04-06 Thread Carl Banks
On Apr 6, 5:10 pm, Mark Wooding <[EMAIL PROTECTED]> wrote: > Astan Chee <[EMAIL PROTECTED]> wrote: > > I have a math function that looks like this > > sin (Theta) = 5/6 > > How do I find Theta (in degrees) in python? > > import math > theta = math.asin(5/6) * 180/math.pi Careful there, bud. 5/6

Re: sine in python

2008-04-06 Thread Mark Wooding
Astan Chee <[EMAIL PROTECTED]> wrote: > I have a math function that looks like this > sin (Theta) = 5/6 > How do I find Theta (in degrees) in python? import math theta = math.asin(5/6) * 180/math.pi -- [mdw] -- http://mail.python.org/mailman/listinfo/python-list

Re: sine in python

2008-04-03 Thread Dan Bishop
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

Re: sine in python

2008-04-03 Thread zillow10
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 > > -- > "For

sine in python

2008-04-03 Thread Astan Chee
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 -- "Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."