{"id":25398,"date":"2021-11-10T09:39:01","date_gmt":"2021-11-10T04:09:01","guid":{"rendered":"https:\/\/python-programs.com\/?p=25398"},"modified":"2021-11-10T09:39:01","modified_gmt":"2021-11-10T04:09:01","slug":"python-cmath-asin-method-with-examples","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-cmath-asin-method-with-examples\/","title":{"rendered":"Python cmath.asin() Method with Examples"},"content":{"rendered":"

cmath.asin() Method in Python:<\/strong><\/p>\n

The cmath.asin() method returns the complex number’s arc sine.<\/p>\n

There are two types of branch cuts:<\/p>\n

    \n
  1. Extends right from 1 to \u221e along the real axis.<\/li>\n
  2. Extends left along the real axis from -1 to -\u221e<\/li>\n<\/ol>\n

    Syntax:<\/strong><\/p>\n

    cmath.asin(x)<\/pre>\n

    Parameters<\/strong><\/p>\n

    x:<\/strong> This is Required. A number that can be used to calculate the arc sine of<\/p>\n

    Return Value:<\/strong><\/p>\n

    Returns a complex value that represents the complex number’s arc sine.<\/p>\n

    Examples:<\/strong><\/p>\n

    Example1:<\/strong><\/p>\n

    Input:<\/strong><\/p>\n

    Given Complex Number = 4+2j<\/pre>\n

    Output:<\/strong><\/p>\n

    The given complex number's (4+2j) arc sine value  = \r\n(1.096921548830143+2.183585216564564j)<\/pre>\n

    Example2:<\/strong><\/p>\n

    Input:<\/strong><\/p>\n

    Given realpart = 5\r\nGiven imaginary part = 2<\/pre>\n

    Output:<\/strong><\/p>\n

    The given complex number's (5+2j) arc sine value = \r\n(1.184231684275022+2.37054853731792j)<\/pre>\n

    Note:<\/strong> The above input format is for dynamic input.<\/p>\n

    cmath.asin() Method with Examples in Python<\/h2>\n