Calculate arcsine: how to use asin
#include <stdio.h>
#include <math.h>
#define PI 3.14159265
int main ()
{
double v, result;
v = 0.5;
result = asin ( v ) * 180 / PI;
printf ("Arcsine of %lf is %lf degrees\n", v, result );
return 0;
}
Related examples in the same category