Tangent of a Parametric Curve

The applet shows how to make draw the tangent of the circle, defined parametrically by [math]y=\sin{x}, x=\cos{x}[/math]