29. A system consists of two objects having masses m1 and m2(m1<m2). The objects are connected by a massless string, hung over a pulley as shown, and then released. When the object of mass m2 has descended a distance h , the potential energy of the system has decreased by
(A) (m2−m1)gh
(B) m2gh
(C) (m1+m2)gh
(D) 21(m1+m2)gh
