Pythagorean Theorem or Trigonometric ratios