The ASIN Function in C programming is one of the Math Library Function, used to calculate Trigonometry Arc Sine value for the specified expression, or value. In this article we will show you, How to use this ASIN function with example.
TIP : Please refer SIN Function article to calculate the Sine value of specified expression.
Syntax of ASIN Function in C
The basic syntax of the asin in C Programming is as shown below.
double asin(double number);
ASIN Function in C Example
The asin Math Function helps you to find the trigonometry Arc Sine for the user specified values. This C program, ask the user to enter his / her own value, and then it will find the arc sine value of the user entered one
/* Example for ASIN Function in C Programming */
double asinValue, number;
printf("\n Please Enter the Values between -1 and 1 to calculate Arc Sine Value : ");
asinValue = asin(number);
printf("\n The Arc Sine value of %lf = %f ", number, asinValue);
Thank You for Visiting Our Blog