fsin

Syntax

double fsin(double x)

Arguments

x
An angle in radians, as a double-precision floating point value

Return

Sine of radian angle x, as a double-precision floating point value

Description

Calculates the sine of the given radian angle x.

Example

%fml

float result;
float PI = 3.14159275;
float degrees = 45.0;
float radians;

radians = degrees * PI / 180;
result = fsin(radians);
printf("Sine of %lf degrees (%lf radians) is %lf", degrees, radians, result);

%%EOF

See Also

(fcos)?, (ftan)?