Cody

Problem 45278. Orthogonal lines

Check whether two given lines are orthogonal or not.

Two lines are orthogonal if they create a right angle at their intersections.

  • p=[x1 y1; x2 y2]
  • q=[x3 y3; x4 y4]

here (x1,y1) and (x2,y2) form a line.

Solution Stats

73.68% Correct | 26.32% Incorrect
Last Solution submitted on May 17, 2020