Share this page

# Example: sin

The following example calculates the sine of 90 degrees using sin.

        #include <math.h>
        double x = 90;
        lr_output_message ("Sine of %lf deg = %lf\n", x, sin(x * PI/180));

    Example: Output:
    Action.c(9): Sine of 90.000000 deg = 1.000000

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: