cos Calculator

θ angle




cos(θ)

_



Calculating Cosine of an Angle

The cosine (cos) of an angle in a right-angled triangle is a trigonometric function that represents the ratio of the length of the adjacent side to the hypotenuse. The cosine function is generally used to find unknown side lengths or angles in right triangles.

The cosine of an angle \( \theta \) is defined as:

\( \cos(\theta) = \dfrac{\text{length of adjacent side}}{\text{length of hypotenuse}} \)

where:

Consider the following triangle ABC, right angled at vertex B.

Right Angled Triangle to Calculate cos of angle

For the angle \( \theta \) at vertex A:

Therefore,

\( \cos(\theta) = \dfrac{\text{length of adjacent side}}{\text{length of hypotenuse}} \)\( = \dfrac{\text{length of side AB}}{\text{length of side AC}} \)

Examples

The following examples cover how to use the cosine of an angle to find the length of the adjacent side or the hypotenuse in different practical scenarios.

1. What is the cosine of an angle θ if the length of the adjacent side is 4 units and the length of the hypotenuse is 5 units?

Answer

Given:

  • Length of adjacent side = 4 units
  • Length of hypotenuse = 5 units

The formula to calculate the cosine of an angle θ is:

\( \cos(\theta) = \dfrac{\text{length of adjacent side}}{\text{length of hypotenuse}} \)

Substitute the given values into the formula:

\( \cos(\theta) = \dfrac{4}{5} \)

Simplify the expression:

\( \cos(\theta) = 0.8 \)

∴ cos(θ) = 0.8

2. A person is walking up a hill that forms a 30° angle with the horizontal. If the person covers a distance of 100 meters along the hill (hypotenuse), how much horizontal distance have they covered?

Answer

Given:

  • Distance along the hill (hypotenuse) = 100 meters
  • Angle with the horizontal θ = 30°

Using the cosine function to find the horizontal distance (adjacent side):

\( \cos(30°) = \dfrac{\text{horizontal distance}}{100} \)

Simplify the expression:

\( 0.866 = \dfrac{\text{horizontal distance}}{100} \)

Now solve for the horizontal distance:

\( \text{Horizontal distance} = 0.866 \times 100 = 86.6 \text{ meters} \)

∴ The person has covered 86.6 meters horizontally.

3. A ladder is leaning against a wall, making a 45° angle with the ground. If the length of the ladder is 10 meters, how far is the base of the ladder from the wall?

Answer

Given:

  • Length of the ladder (hypotenuse) = 10 meters
  • Angle with the ground θ = 45°

Using the cosine function to find the distance of the base of the ladder from the wall (adjacent side):

\( \cos(45°) = \dfrac{\text{distance from the wall}}{10} \)

Simplify the expression:

\( 0.707 = \dfrac{\text{distance from the wall}}{10} \)

Now solve for the distance from the wall:

\( \text{Distance from the wall} = 0.707 \times 10 = 7.07 \text{ meters} \)

∴ The base of the ladder is 7.07 meters from the wall.