The exciting forces on a moving body in waves