Applet "Circle Wave", Problem D