Name | acos() |
||
---|---|---|---|
Examples |
a = PI c = cos(a) ac = acos(c) # Prints "3.1415927 : -1.0 : 3.1415927" print("%.7f : %.1f : %.7f" % (a, c, ac)) a = PI + PI/4.0 c = cos(a) ac = acos(c) # Prints "3.926991 : -0.70710665 : 2.3561943" print("%.6f : %.8f : %.7f" % (a, c, ac)) | ||
Description | The inverse of cos(), returns the arc cosine of a value. This function expects the values in the range of -1 to 1 and values are returned in the range 0 to PI (3.1415927). | ||
Syntax | acos(value) | ||
Parameters |
| ||
Related |
cos() asin() atan() |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License