asin
Arc cosine, arc sine,
and arc tangent functions
Declaration:
Real:
double asin(double x);
long double asinl(long double
(x));
Remarks:
asin and asinl of a real value compute the
arc sine of that value
Return Value:
asin and asinl return the arc sine of the input value (in
the range -pi/2 to pi/2)
Program
#include <stdio.h>
#include <math.h>
int main(void)
{
double result;
double x = 0.5;
result = asin(x);
printf("The arc
sin of %lf is %lf\n", x, result);
return(0);
}
0 comments:
Post a Comment