0
Area between two points
How to calculate area between two points? Like p1 = (3,2) and p2 = (5,1). Please help.
1 Answer
+ 2
Umm, points have no area. Neither do lines.
Assuming you mean the distance, you can use Pythagoras' Theorem to find the distance (as Euler proposed):
|AB| = â(a**2 + b**2)
where a and b are the difference between the x-coordinates and y-coordinates respectively. In this case, distance is
â((3-5)**2 + (2-1)**2) = â(4+1) = â5, approximately equal to 2.236.
Hope this helped. đ