Asin is a mathematical function that operates on REAL arguments.
Asin is Fortran's inverse sine function. It will return the angle ( in radians ) who's value of sine equals the value of the argument passed to it.
The argument x must be of type REAL with a value between -1.0 and 1.0. It is the value of sine for which the computer will find the corresponding angle of in radians.
There are no optional arguments to this function.
There are an infinite number of correct answers, so the returned angle is restricted to the range -pi/2 through pi/2. Just keep in mind that the results returned by the function are in radians and not degrees. For instance, the next few lines of code will result in the value of 0.7854078 being stored in the variable angle not 45.0.
X= 0.7071 angle = asin(x)
If you need angle to be in degrees, you will have to convert using something like the following.
Written by Jason Wehr : firstname.lastname@example.org and Maintained by John Mahaffy : email@example.com