Calculate arcsine: how to use asin : Sin ASin « Math « C / ANSI-C






Calculate arcsine: how to use asin

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

1.compute sine using very simple floating arithmetic
2.How to use asinHow to use asin
3.How to use sinHow to use sin
4.Hyperbolic sine: how to use sinhHyperbolic sine: how to use sinh
5. Calculate sine: sin
6.Calculate hyperbolic sine: how to use sinh
7.copy one file to another