(Q8) How will you find the distance between two points in which x or y coordinates are same but not zero? .

Let the points be A(2,3),B(2,5)

Here the x-coordinates are same,then the distance between two points A and B is |y2 - y1| = | - | = units

If the points are P(4,3),Q(-8,3)

Here the y-coordinates are same.In such a case, the distance is given by |x2 - x1| = |- - | = |-|

= units

case Distance
x-coordinates same |y2 - y1|
y-coordinates same |x2 - x1|