if you are given a fuction of x=Acos(kx + wt), how can you tell whether the wave is longitudinal or transverse?