import cmath as c


def amp_ph_to_comp(a,ph):
    """ Takes the amplitude and phase of the waveform and
    computes the compose them together"""
    t =[]
    for i in range(len(a)):
        t.append(a[i]*c.exp(ph[i]*1j))
    return t