-
-
Notifications
You must be signed in to change notification settings - Fork 18
dsin
Vašek edited this page Jan 13, 2019
·
5 revisions
Returns the sine of value in degrees
dsin(x)
Argument | Description |
---|---|
double x |
The angle in degrees to sine |
Returns: double
In a right angled triangle dsin(x)
= Opposite / Hypotenuse.
If you want to use radians instead of degrees use function sin()
.
double value;
value = dsin(90);
This code will set value
to 1.
double value;
value = dsin(-245);
This code will set value
to 0,906308.
Back to number_functions