Non-linear extensional vibrations of rotating bars treated by the galerkin and finite-difference methods