Euler's Identity Querry.


amitraj
04-21-2004, 06:21 AM
hi!

Could some body please let me know, what unit shall I take when I want to use Euler's Identity.

I mean, whether the angles used there in, are in DEGREES or RADs?

When I write a code in C/C++, the COS and SIN functions consider my entires as in RADIANS. Shall I first convert them in DEGREES or Shall I use them as they are?

Please let me know the details.
Thank you.
Warm regards.

amitraj
04-22-2004, 02:33 AM
Hi ,
I have found the answer to the questio.
Euler's Identity, considers RADIAN input, as long as not specifically said about the Unit.
However, it is not that it considers, only RAD, if required one can give angles in DEG. That is not illogical!

As long as C/C++ coding is in to the view, one has to be clear about what she/he wants to operate on. DEG or RAD.

To conclude it is programmer's responsibility.

Thank you.

Warm Regards.