> ~ Online tutorial


 acos

 Arc cosine, arc sine, and arc tangent functions

 Declaration:
 Real:   
            double acos(double x);
long double acosl(long double (x));
complex acos(complex z);

Remarks:

                acos and acosl of a real value compute the arc cosine of that value

Return Value:

   On success,
   acos and acosl return the arc cosine of the input value (in the range 0 to pi)

Program

#include <stdio.h>
#include <math.h>

int main(void)
{
  double result;
  double x = 0.5;

  result = acos(x);
  printf("The arc cosine of %lf is %lf\n", x, result);
  return 0;
}

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: