Flexible structures: analysis of the approximate motion equations by using Lyapunov functions