Qualcomm Interview Question

Find the peak given a sine wave