simulation of pendulum with vibrating support