Pythagoras' theorem

c=sqrta2+b2c = \\sqrt{a^2+b^2}

What it does

Calculates pythagoras' theorem from the supplied values.

When to use it

Use this mathematics formula when the named quantities are known.

Variables

Worked example

{
  "inputs": {
    "a": 3,
    "b": 4
  },
  "result": 5
}

Common mistakes

Check units, signs, brackets and that every value is entered in the stated units.