## Re:Sin Cos Tan and other trigonometry function problem

##### Quote

"Erixma" <eriksorense...@hotmail.com> wrote in message

news:3e639db8@newsgroups.borland.com...

##### Quote

> My CPP Builder 6 Enterprise doesn't seem to understand how to calculate

Sin

> Cos Tan ArcSin ArcCos and whatever. When I try it it give me an answer by

> the answer is completely different from the result I get from the windows

> calculator.

> Does anyone have experience with this kind of bug, and maybe a clue on how

I

> can fix it.

I bet "the bug" is that you don't pay attention to units you are passing

angles to those function.

I suggest that you'll find out what degrees, radians and grads are and what

units those functions use.

Quick tip :

If your Windows calc gives 1 for sin of 90 (degrees),

BCB for SinCos of 90 gives sin = 0.893996663 and cos = -0.4480736161.

Best regards,

Holy Punk.

P.S. It's always better to make sure that there is a bug, then create a

hoax.