|
|
|
| Title | Calculate sines and cosines in degrees |
| Keywords | since, cosine, trig, trigonometry |
| Categories | Algorithms |
|
|
|
Make wrapper functions that convert into radians.
|
|
Private Const PI = 3.14159265
Public Function Cosine(ByVal degrees As Single) As Single
Cosine = Cos(degrees * PI / 180)
End Function
Public Function Sine(ByVal degrees As Single) As Single
Sine = Sin(degrees * PI / 180)
End Function
|
| |
|
| |
|
|