Forced vibrations of a cantilever beam