G2. Distance between two points
Use your mouse to move points A and B. Their coordinates
will be displayed, together with the distance between the two points.
This distance is calculated by using Pythagoras' result.
Suppose point A is at (1,3) and B is at (4,1)
|
 |
Form a right-angled triangle and find the height and
base length:
Height=3-1=2
Base length=4-1=3
Use Pythagoras' result to find the length of AB:
AB2=22 + 32=13
AB= 13=3.6 |
 |
This method can be described in general.
To find the distance between the points
(a,b) and (c,d), you should work out:
((a-c)2+(b-d)2) |
Can you find coordinates for A and
B, so that the length of every side of the triangle is a whole number?
|