Dynamic response function and energy-loss spectrum for Li using an N -point Padé approximant