Pythagorean Theorem (2)

This Java applet shows a right triangle. You can move the vertex of the right angle with pressed mouse button.

 
a2 = c p
b2 = c q
 
a2 + b2 = c2