Re: degrees and radians.

2016-09-08 Thread Lawrence D’Oliveiro
On Tuesday, May 7, 2002 at 9:15:50 AM UTC+12, Fernando Pérez wrote: > Plus, if you really need those conversions, it's less typing and more > efficient (no function call) to simply use a multiplicative constant... This I have found to be the best idea. In Qahirah

Re: degrees and radians.

2016-08-24 Thread Roel Schroeven
murdocksgra...@gmail.com schreef op 2016-08-24 06:08: Also Borland C and C++ used Degrees and NOT Radians.. go look at the libraries You have a reference for that? Borland C++ Builder Help from C++ Builder 5 disagrees with you: "sin, sinl Header File math.h Category Math Routines Syntax

Re: degrees and radians.

2016-08-24 Thread Rob Gaddi
murdocksgra...@gmail.com wrote: > On Saturday, May 4, 2002 at 3:37:07 AM UTC-4, Jim Richardson wrote: >> >> I am trying to get the math module to deal with degrees rather than >> radians. (that it deals with radians for the angular functions like >> sin() isn't mentioned in the docs, which was

Re: degrees and radians.

2016-08-24 Thread Stephen Tucker
For what it's worth, mathematicians naturally work with angles in radians. The mathematics of the trignonmetric functions works naturally when the angle is expressed in radians. For the older among us, logarithms also have a "natural" base, and that is the number e. Back in those days, however,

Re: degrees and radians.

2016-08-23 Thread Steven D'Aprano
On Wednesday 24 August 2016 14:26, Gary Herron wrote: > Do you really need anything more complex than this? > > >>> toRadians = math.pi/180.0 > > >>> math.sin(90*toRadians) > 1.0 > > Perhaps I'm not understanding what you mean by "clunky", but this seems > pretty clean and simple to me.

Re: degrees and radians.

2016-08-23 Thread Random832
On Wed, Aug 24, 2016, at 00:26, Gary Herron wrote: > Perhaps I'm not understanding what you mean by "clunky", but this seems > pretty clean and simple to me. The original post is from 2002, I don't know why it got a reply just now. -- https://mail.python.org/mailman/listinfo/python-list

Re: degrees and radians.

2016-08-23 Thread Gary Herron
On 08/23/2016 09:08 PM, murdocksgra...@gmail.com wrote: On Saturday, May 4, 2002 at 3:37:07 AM UTC-4, Jim Richardson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to get the math module to deal with degrees rather than radians. (that it deals with radians for the angular

Re: degrees and radians.

2016-08-23 Thread murdocksgranpa
On Saturday, May 4, 2002 at 3:37:07 AM UTC-4, Jim Richardson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > I am trying to get the math module to deal with degrees rather than > radians. (that it deals with radians for the angular functions like > sin() isn't mentioned in the