degrees and radians.

Simon Foster simon at nospam.demon.co.uk
Sun May 5 04:30:40 EDT 2002


"Tim Hammerquist" <tim at vegeta.ath.cx> wrote in message
news:slrnad92os.18l.tim at vegeta.ath.cx...

> Operating under the fairly certain assumption that (2*PI) radians = 360
> degrees, I simply replace pi with 180 degrees in the classic geometric
> functions. Thus:
>

I see what you're driving at, but the fact that 2*pi radians = 360 degrees
still
does not change the value of pi (thankfully)!

> To satisfy your question, however, my value of pi, stored permanently in
> my brain to six significant digits since Mr. Chatfield's calc class in
> high school: 3.14159 ;)
>

I have 3.141592653

C:\>python
Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from math import pi
>>> pi
3.1415926535897931
>>>

Cheers.





More information about the Python-list mailing list