The parametric curve given by $x=\cos a t$ and $y=\sin b t$ is known as a Lissajous figure. The $x$ -coordinate oscillates $a$ times between 1 and -1 as $t$ goes from 0 to 2 $\pi$, while the $y$ -coordinate oscillates $b$ times over the same $t$ interval. This behavior is repeated over every interval of length $2 \pi$. The entire motion takes place in a unit square. Plot the following Lissajous figures for a range of $t$ that ensures that the resulting figure is a closed curve. In each case, count the number of times that the curve touches the horizontal and vertical borders of the unit square.
(a) $x=\sin t, y=\cos t$
(b) $x=\sin 3 t, y=\cos 5 t$
(c) $x=\cos 5 t, y=\sin 15 t$
(d) $x=\sin 2 t, y=\cos 9 t$