waveform generation lecture 20 part b 593794