COS function
the cosine of a number.
Math and trigonometry
Where can you use it?
Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.
Scenario in the workbook
Find the horizontal component of an angle in radians. The cosine of a right angle is zero within rounding precision.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | 0 |
| 8 | 1.570796327 |
| 9 | 3.141592654 |
Record 1
=COS(A7)Expected result1
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=COS(0)Turkish Excel · tr-TR
=COS(0)Expected result
1
Worked examples
Find the horizontal component of an angle in radians. The cosine of a right angle is zero within rounding precision.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Input |
| 7 | 0 |
| 8 | 1.570796327 |
| 9 | 3.141592654 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =COS(A7) |
1 |
| Record 2 | =COS(A8) |
0 |
| Record 3 | =COS(A9) |
-1 |