[Tutor] Over-riding radians as default for trig calculations

AG computing.account at googlemail.com
Sun Feb 28 20:39:10 CET 2010


After importing the math module and running

math.cos( x )

the result is in radians.

Is there a way of setting this so that it results in degrees?  I don't 
want to over-ride this permanently for my Python settings, so am happy 
to specifically do it per equation or per program.

Thanks in advance.

AG


More information about the Tutor mailing list