For function *y* = sin(*x*), is *x* in degree or radian? This was a question I asked students many time when I was teaching. In using a calculator, either one is okay as long as the correct setting is in place. But not in actual scientific computation. Recently, I found a bug in my C++ code where I had a variable in degree, but the internal math library of C++ assumes it is in radian.

### Like this:

Like Loading...

*Related*

Tags: degree, math, radian, trigonometric functions

This entry was posted on May 4, 2009 at 3:58 pm and is filed under Engineering, math. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

## Leave a Reply