On the production of X-radiation, according to wave mechanics