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 asinĀ 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 */ #include <stdio.h> #include <math.h> int main() { double asinValue, number; printf("\n Please Enter the Values between -1 and 1 to calculate Arc Sine Value : "); scanf("%lf", &number); asinValue = asin(number); printf("\n The Arc Sine value of %lf = %f ", number, asinValue); return 0; }
OUTPUT
Thank You for Visiting Our Blog