0
Area between two points
How to calculate area between two points? Like p1 = (3,2) and p2 = (5,1). Please help.
1 Resposta
+ 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. 😉