a patent diagram sine wave