Re: New proposal for math.e
- Posted by Colin Taylor <colinetaylor at ?mail.c?m> Aug 04, 2007
- 516 views
Juergen Luethje wrote: > > Colin Taylor wrote: > > <snip> > > > > In the above functions, angle is expressed in radians, increasing in a > > clockwise > > direction from east. > > > > Regards, Colin (now returning to deep lurk mode) > > I don't know what you mean by "east" in this context. However, the > normal math convention is: Increasing positive values of an angle > correspond to _counter_ clockwise rotation. > > But I've seen now that different textbooks use different conventions > about the range of values that is used for the angle in Polar > Coordinates. Some books use -PI < a <= PI, while others use > 0 <= a < 2*PI. Our implementation of the functions will depend on the > range that we'll allow for the angle. > > Regards, > Juergen When I wrote these functions some years ago I wanted them to be perfectly reversable so that data could be transformed in both directions without any corruption. I think I also wanted to adopt the same angle notation which was used by another application (don't remember which - possibly AutoCAD) so that I could easily import and export data. I leave it to Juergen or someone else to recommend an angle notation which works best with Euphoria, and (if necessary) modify the functions to suit. Regards, Colin