For example, if the train was moving at 10 miles per second, and 10 train cars passed in one second, then each train car would be 1 mile long. If the other train was also moving at 10 miles per second and 20 train cars passed in one second, then one would know that each train car was 1/2 of a mile long for that train. This example shows that knowing the frequency of an electromagnetic wave gives you the wavelength, since all electromagnetic waves travel at the speed of light so that c = v (lambda) where v is frequency and lambda is wavelength, and c is the speed of light. Therefore, another way of expressing frequency is to say "frequency is c over lambda."