determine the acceleration of m1 as a function of time.