{"id":24301,"date":"2021-10-14T09:18:18","date_gmt":"2021-10-14T03:48:18","guid":{"rendered":"https:\/\/python-programs.com\/?p=24301"},"modified":"2021-11-05T21:05:21","modified_gmt":"2021-11-05T15:35:21","slug":"python-program-for-asin-function","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-for-asin-function\/","title":{"rendered":"Python Program for asin() Function"},"content":{"rendered":"

In the previous article, we have discussed Python Program for acos() Function<\/a>
\nasin() Function in Python:<\/strong><\/p>\n

The arc sine of a number is returned by the math.asin() method.<\/p>\n

Note:<\/strong> It should be noted that the parameter passed in math.asin() must be between -1 and 1.<\/p>\n

Tip:<\/strong> math.asin(1) returns the value PI\/2, while math.asin(-1) returns the value -PI\/2. (where PI= 22\/7)<\/p>\n

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

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

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

x:<\/strong> This is required. It is a number between -1 and 1. If x is not a number, a TypeError is returned.<\/p>\n

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

Returns a float value which represents a number’s arc sine.<\/p>\n