### Formula

cosA

cosine of an angle A

b

length of the adjacent side

h

length of the hypotenuse

cosA

cosine of an angle A

b

length of the adjacent side

h

length of the hypotenuse

The cosine of an angle is the ratio of the length of the adjacent side to the length of the hypotenuse. In our case

b

h

cosA

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP