Simple Sine Pattern

Code from old book
<Flash Math Creativity>, Chapter 1
