Mail Archives: djgpp/1997/03/26/05:34:29
Kjell Franzen wrote:
> That have to be PI/180 to be correct, no? If You multiply by 180/PI the
> angle would be be about 57 times greater instead of 57 times smaller.
> (1 radian equals about 57,3 degrees).
>
> > This changes the line from your example to
> >
> > result = sin(theta*180/PI)
> ^^^^^^ should be : PI/180
Simple dimensional analysis. pi rad = 180 deg, so deg times (pi rad/180
deg) gives rad. You are correct; the conversion factor is pi/180.
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -