sine and cosine wave example | ScratchStats