Monday, March 11

Law of Cosines Calculator


Law of cosines calculator is a tool to calculate calculation applying law of cosines easily. First let's understand the concept of law of cosines. In trigonometry, the law of cosines (also known as the cosine formula or cosine rule) is a statement about a general triangle that relates the lengths of its sides to the cosine of one of its angles. The law of cosines states that,

c2 = a2 + b2 – 2ab cos γ,

The law of cosines generalizes the Pythagorean theorem, which holds only for right triangles: if the angle γ is a right angle (of measure 90° or `pi/2` radians), then cos(γ) = 0, and thus the law of cosines reduces to,

c2 = a2 + b2

Formula for Law of Cosine:

The law of cosines is used to solve the third side of a triangle, when other two sides and the angle are known.

By changing the sides of the triangle, one can find the following two formulas also to solve for the law of cosines,

a2 = b2 + c2 – 2bc cos α,

b2 = a2 + c2 – 2ac cos β.

Law of Cosines Using Distance Formula:

To solve for the law of cosines, consider a triangle with a side length of a, b, c, and θ is the measurement of the angle opposite to the side length c.

A = (bcosθ, bsinθ), B = (a, 0), and C = (0, 0).

By using distance formula, we have,

c = `sqrt((a - bcostheta)^2 + (0 - bsin theta)^2)` ,

Now, squaring on both sides, we get,

c2 = (a – bcos θ)2 + (–bsin θ)2

c2 = a2 – 2ab cos θ + b2cos2θ + b2sin2θ,

c2 = a2 – 2ab cos θ + b2(cos2θ + sin2θ)

c2 = a2 + b2 – 2ab cos θ.               [where, cos2θ + sin2θ = 1].

Law of Cosines Using Trigonometry:

To solve for the law of cosines, draw the perpendicular to the side c as shown in the figure,

c = a cosβ + b cosα.

Multiply by c, we get,

c2 = ac cosβ + bc cosα                                                 (1)

By considering the other two perpendiculars, we get,

a2 = ac cosβ + ab cosγ                                                (2)

b2 = bc cosα + ab cosγ                                                (3)

Adding equations (2), and (3), we get,

a2 + b2 = ac cosβ + ab cosγ + bc cosα + ab cosγ

a2 + b2 = ac cosβ + 2ab cosγ + bc cosα                       (4)

Subtracting equation (1) from the equation (4), we get,

a2 + b2 – c2 = (ac cosβ + 2ab cosγ + bc cosα) – (ac cosβ + bc cosα)

a2 + b2 – c2 = 2ab cosγ,

a2 + b2 – 2ab cosγ = c2,

c2 = a2 + b2 – 2ab cosγ.

Examples based on Law of Cosine:

Ex 1: Evaluate the length of side A using law of cosine formula.

Sol:

law of cosine example 1

Step 1:   A² = B² + C² −2(B)(C)cos (`-<`1) ( law of cosine formula)

Step 2:  Plug in the values of B and C

A² = 20² + 13² −2(20)(13)cos(66)

A² = 400 + 169 −520 cos(66)

Step 3: Add and subtract

A² = 569 −211

A² = 358

Step 4:  Take square root

A= √358 = 18.9

Algebra is widely used in day to day activities watch out for my forthcoming posts on Acute Triangle Angles and sample paper for class 9th cbse. I am sure they will be helpful.

Ex 2:  Evaluate x using law of cosine formula.

Sol:

law of cosine example 2

Step 1:   A² = B² + C² −2(B)(C)cos ( 1)

25² = 32² + 37² −2(32)(37)cos(x)

Step 2:  Solve the equation

625 = 2393 − 2,368 cos(x)

- 1760 = -2, 368 cos (x)

. 7432 = cos x

Cos-1 (.7432) = 42.0 º

No comments:

Post a Comment