asin()
Anonymous contributor
Anonymous contributor3071 total contributions
Anonymous contributor
Published Jun 18, 2021Updated Jul 20, 2023
Contribute to Docs
The asin()
function returns the inverse sine of the argument in radians.
Syntax
asin(n)
Example 1
Use asin()
to return the inverse sine of 0.0
:
#include <iostream>#include <cmath>int main() {double x = 0.0;double result;result = std::asin(x);std::cout << result << " radians" << "\n";// Output: 1.5708 radians}
Codebyte Example
The following example is runnable and outputs the inverse sine of 0.32
:
All contributors
- Anonymous contributorAnonymous contributor3071 total contributions
- net137228473814 total contributions
- Christine_Yang271 total contributions
- garanews222 total contributions
- christian.dinh2476 total contributions
- Anonymous contributor
- net1372284738
- Christine_Yang
- garanews
- christian.dinh
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.