which describes the relationship between the frequency, wave length, and speed of a wave as the wave travels through different media