A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3schools.com/python/ref_math_asin.asp below:

Website Navigation


Python math.asin() Method

Python math.asin() Method

❮ Math Methods

Example

Return the arc sine of different numbers:

# Import math Library

import math

# Return the arc sine of numbers

print(math.asin(0.55))

print(math.asin(-0.55))

print(math.asin(0))

print(math.asin(1))

print(math.asin(-1))

Try it Yourself » Definition and Usage

The math.asin() method returns the arc sine of a number.

Note: The parameter passed in math.asin() must lie between -1 to 1.

Tip: math.asin(1) will return the value of PI/2, and math.asin(-1) will return the value of -PI/2.

Syntax Parameter Values Parameter Description x Required. A number in the range -1 to 1. If x is not a number, it returns a TypeError Technical Details Return Value: A float value, representing the arc sine of a number Python Version: 1.4

❮ Math Methods

Track your progress - it's free!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4