Drag the cats around to see how far they are. The variable on the top is the distance.
The distance from one sprite to another can be solved using the Pythagorean theorem. a^2 + b^2 = c^2 In this case, the two sides that form the right angle are "a" and "b". "c" is the hypotenuse, or the side opposite to the right angle. It is the longest side and is marked purple in the diagram. --------------------------------------------------------------------------------- #penn #harlowe #pennharlowe #pythagoras #pythagorean #theorem #triangle #pen #right #angle #hypotenuse