We consider the response of a chaotic cavity in d dimensions to periodic dr
iving. We are motivated by older studies of one-body dissipation in nuclei,
and also by anticipated mesoscopic applications. For calculating the rate
of energy absorption due to time-dependent deformation of the confining pot
ential, we introduce an improved version of the wall formula. Our formulati
on takes into account that a special class of deformations causes no heatin
g in the zero-frequency limit. We also derive a mesoscopic version of the D
rude formula, and explain that it can be regarded as a special example of o
ur calculations. Specifically we consider a quantum dot driven by an electr
o-motive force which is induced by a time-dependent homogeneous magnetic fi
eld.