sine in python

Mark Wooding mdw at distorted.org.uk
Sun Apr 6 23:10:17 CEST 2008


Astan Chee <stanc at al.com.au> 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]



More information about the Python-list mailing list