Analytical approach for the problems of dynamics and stability of a moving web