English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i am trying to find the sine of an angle in degrees.

the C++ function sin() returns the value in radians.

is there anyway to get the sine of 89 in degrees

i know that the sine of 89 in degress is .999847695, but when i do it with the sin(89) function, it returns .8600694058

any suggestions?

2007-04-12 17:56:14 · 1 answers · asked by tmpryid 1 in Computers & Internet Programming & Design

1 answers

use a formula to convert

in C++ sinx accepts x in terms of radians

if x in degrees use
sin(x*pi/180)

that is sin(89*3.14/180)

2007-04-12 18:19:36 · answer #1 · answered by iyiogrenci 6 · 0 0

fedest.com, questions and answers