sinewavePDF function

PDF of a truncated sinusoidal curve