Wolfram Computation Meets Knowledge

Pythagorean Theorem

The Pythagorean theorem is a fundamental relation in Euclidean geometry among the three sides of a right triangle. It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides.

The sum of the squares of the first and second sides equals the square of the hypotenuse.

Formula

QuantityVariable["a", "Length"]^2 + QuantityVariable["b", "Length"]^2 == QuantityVariable["c", "Length"]^2

Forms

Examples

Get the resource:

In[1]:=
ResourceObject["Pythagorean Theorem"]
Out[1]=

Get the formula:

In[2]:=
FormulaData[ResourceObject["Pythagorean Theorem"]]
Out[2]=

Use some values:

In[3]:=
FormulaData[
 ResourceObject[
  "Pythagorean Theorem"], {QuantityVariable["c","Length"] -> 5, 
  QuantityVariable["a","Length"] -> 3}]
Out[3]=

Source Metadata

Publisher Information