Text this: A variational approach to a class of resonance problems with application to a wave equation problem /