how to find wavelength with distance