CalculatorCast

코사인 법칙 계산기

코사인 법칙을 이용해 삼각형의 변을 구합니다.

소개

Law of Cosines Calculator - Solve a triangle side using the law of cosines. Enter Side a, Side b, Included angle C (degrees) to get an instant result.

공식

Law of cosines: c² = a² + b² − 2ab×cos(C), solved for side c given two sides a, b and their included angle C (in degrees).

단계별 안내

  1. Enter the Side a.
  2. Enter the Side b.
  3. Enter the Included angle C (degrees).
  4. Click Calculate to see your result instantly.

실제 예시

Example: With Side a = 3, Side b = 4, Included angle C (degrees) = 90, the Law of Cosines Calculator gives Side C: 5.

자주 묻는 질문

When should I use law of cosines instead of law of sines?
Law of cosines is ideal when you know two sides and the angle between them (SAS), which law of sines can't directly solve.
Does this reduce to the Pythagorean theorem?
Yes - when C = 90°, cos(C) = 0 and the formula becomes c² = a² + b².
What inputs does the Law of Cosines Calculator need?
You'll need to provide: Side a, Side b, Included angle C (degrees). All fields use sensible defaults, so you can see a working example immediately and then adjust the values to match your own numbers.
How accurate is the Law of Cosines Calculator?
The Law of Cosines Calculator applies a fixed formula to the numbers you enter. Formula used: Law of cosines: c² = a² + b² − 2ab×cos(C), solved for side c given two sides a, b and their included angle C (in degrees). The result is only as reliable as the values you provide, so double-check your inputs.
Is the Law of Cosines Calculator free to use?
Yes, the Law of Cosines Calculator is completely free, requires no signup, and runs instantly in your browser.

코사인 법칙 계산기 소개

The law of cosines is a generalization of the Pythagorean theorem that works for any triangle, not just right triangles. It connects the lengths of all three sides of a triangle with the cosine of one of its angles. This calculator applies the law of cosines to find missing sides and angles in SSS and SAS triangle problems.

The Law of Cosines Formula

For a triangle with sides a, b, c and angles A, B, C opposite to those sides respectively:

c^2 = a^2 + b^2 - 2ab x cos(C)

You can rearrange this to find the angle: cos(C) = (a^2 + b^2 - c^2) / (2ab)

Notice that when angle C is 90 degrees, cos(C) = 0 and the formula reduces to the Pythagorean theorem: c^2 = a^2 + b^2. The law of cosines is the full version of which the Pythagorean theorem is a special case.

When to Use the Law of Cosines

Use it for SAS triangles (two sides and the included angle known): plug in the two sides and the angle between them to find the third side.

Use it for SSS triangles (all three sides known): rearrange the formula to solve for any angle.

The law of sines is simpler to apply when you have an angle and its opposite side. But the law of cosines is necessary when those conditions are not met.

Real-World Applications

Surveyors and engineers use the law of cosines when measuring land and structures where right angles are not present. Navigation calculations between two locations involve the law of cosines when working on a flat map with known distances. In robotics, calculating joint angles from end-effector positions uses the law of cosines extensively. In physics, finding the resultant of two forces at an angle requires the same formula.