X-ray absorption spectroscopy (XAS) I(x) = I0 e-µx µ = linear attenuation coefficient (depends on material and photon energy). The lost part is due to absorption. In…