Explore the Python Library Reference.
Suppose you want to compute the inverse sine function: sin−1 x. The math module has a function for computing sin−1x, but what is the right name of this function? Read Chapter 2.6.3 and use the math entry in the index of the Python Library Reference to find out how to compute sin−1x. Make a program where you compute sin−1x for n x values uniformly distributed between 0 and 1, and write out the results in a nicely formatted table. For each x value, check that the sine of sin−1x equals x. Name of program file: inverse_sine.py.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here