STUDY OF THE DYNAMICS OF A ROTATING FLEXIBLE BEAM AND A FLEXIBLE PENDULUM