Proton or H linacs accelerate particles through the wide range of the particle velocities. For intense beams, and especially when superconducting cavities are used, a detailed knowledge about how the beam energy loss depends on the beam velocity = v=c, and what part of the lost energy remains in the cavity, is required to calculate the cavity heat load. Using a frequency-domain approach, we cal...