  We extend Kubo's Linear Response Theory (LRT) to periodic input signals with
arbitrary shapes and obtain exact analytical formulas for the energy dissipated
by the system for a variety of signals. These include the square and sawtooth
waves, or pulsed signals such as the rectangular, sine and $\delta$-pulses. It
is shown that for a given input energy, the dissipation may be substantially
augmented by exploiting different signal shapes. We also apply our results in
the context of magnetic hyperthermia, where small magnetic particles are used
as local heating centers in oncological treatments.
