Asin / Asinl :
- The asin() function returns the arc sine of an argument
- Argument should be between -1 and 1.
- Acos return the arc sine of the input value [ in the range -PI/2 to PI/2 ]
- On error ( if the arguments are not in the range -1 to 1) It returns NAN Or Displays "Invalid domain error"
Live Example :double asin( double arg ); long double asinl(long double (x));
#include<stdio.h>
#include<math.h>
int main(void)
{
double result;
double x = 0.5;
result = asin(x);
printf("Arc sine of %lf : %lf\n",x,result);
return 0;
}
Output :Arc sine of 0.500000 : 0.523599

0 comments
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email