Reflection of X-rays with change of frequency