APPLET: RESPONSE TO SINUSOIDAL INPUT