Languages
[Edit]
EN

C# / .NET - Math.Acos() method example

0 points
Created by:
Mohammad-Oneal
327

The Math.Acos function returns number in radians in the range 0 to Math.PI. Based on this function we are able to calculate the inverted cosine function value.

 Another way to look at Acos function:


1. Documentation

Edit
Syntax
Parameters

number - double value that represents the result of the operation adjacent / hypotenuse on the right triangle.

number should be in the range -1 to +1.

Result

number value in radians in the range 0 to Math.PI (primitive value).

If the value can not be calculated NaN is returned.

Description

Acos is a static method that takes only one parameter and returns an approximation of the result of the mathematical function arccosine(x).

2. Working with degrees

Edit

References

Edit
  1. Inverse trigonometric functions - Wikipedia

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

C# / .NET - Math object

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join