mathematical relationship between wavelength and period