Sign in with
Sign up | Sign in
Your question

Calculator!

Last response: in Windows 2000/NT
Share
Anonymous
August 24, 2005 8:49:41 PM

Archived from groups: microsoft.public.win2000.general (More info?)

The value of Sin(1), using the Visual Basic function Sin(number) is
0.841470984807897 but the Windows Calculator shows the value of Sin(1)
as 0.017452406437283512819418978516316! Not only this, even the cos,
sin & tan values of other numbers (except for 0), are different! Now
who is right & who is wrong?

Thanks,

Arpan

More about : calculator

Anonymous
August 25, 2005 12:22:41 AM

Archived from groups: microsoft.public.win2000.general (More info?)

They are both right. The difference is that one expression uses radian
measure for the angle and the other uses degrees. I.e., the sine of 1 radian
= 0.8414....... and the sine of 1 degree = 0.017..... Same for the the
other trig functions.


"Arpan" <arpan_de@hotmail.com> wrote in message
news:1124927381.439961.251690@g49g2000cwa.googlegroups.com...
> The value of Sin(1), using the Visual Basic function Sin(number) is
> 0.841470984807897 but the Windows Calculator shows the value of Sin(1)
> as 0.017452406437283512819418978516316! Not only this, even the cos,
> sin & tan values of other numbers (except for 0), are different! Now
> who is right & who is wrong?
>
> Thanks,
>
> Arpan
>
Anonymous
August 31, 2005 2:13:08 PM

Archived from groups: microsoft.public.win2000.general (More info?)

You need to understand the difference between radians and degrees. Put the
calculator at radians after you hit 1 and then sin. You'll get what VB
says. You were doing 1 degree in the calculator while VB was telling you 1
radian. There are 2*pi ~ 6 radians in a circle where as there are 360
degress in a circle. Hence 1 radian is about 60 degrees.

--
George Hester
_________________________________
"Arpan" <arpan_de@hotmail.com> wrote in message
news:1124927381.439961.251690@g49g2000cwa.googlegroups.com...
> The value of Sin(1), using the Visual Basic function Sin(number) is
> 0.841470984807897 but the Windows Calculator shows the value of Sin(1)
> as 0.017452406437283512819418978516316! Not only this, even the cos,
> sin & tan values of other numbers (except for 0), are different! Now
> who is right & who is wrong?
>
> Thanks,
>
> Arpan
>
!