Monday, March 5, 2018

Number asin() Method


Number asin() Method in Python 3:


            The asin() method returns the arc sine of x (in radians).
Syntax
import math
asin(x)

 Note: This function is not accessible directly, so we need to import the math module and
then we need to call this function using the math static object.

Parameters
          x - This must be a numeric value in the range -1 to 1. If x is greater than 1 then it will generate 'math domain error'.

Return Value
       This method returns arc sine of x, in radians.

Example
      The following example shows the usage of the asin() method.



and the output is :