Functioning of the x-rays