When an electromagnetic wave meets a reflecting surface, the direction taken by the reflected wave is determined by:
A. the material of the reflecting surface
B. the angle of incidence
C. the index of the medium
D. the intensity of the wave
E. the wavelength