If the distance between points (p,−5),(2,7) is 13 units, then p is
Given, Distance between the points (p,−5) and (2,7)=13
The distance between two points (x1,y1) and (x2,y2) can be calculated as √(x2−x1)2+(y2−y1)2
∴ Distance between the points (p,−5) and (2,7)=√(2−p)2+(7−(−5))2
⇒√(2−p)2+144=13
⇒(2−p)2+144=169
⇒ (2−p)2=25
⇒2−p=5 or 2−p=−5
∴p=−3 or p=7