Subtracting two sine waves. How to find its amplitude and phase.