Using the wave speed equations