Wave equation and speed of a wave