Differential cross sections for elastic and inelastic n=2 excitation of ground-state helium at 29.6 and 40.1 eV