Variational statement of the problem of vibrations of a beam with a moving boundaryстатья