Measurements or Pythagorean theorem