A block of mass m1 rests on a horizontal table. A string tied to the block is passed on a frictionless pulley fixed at the end of the table and to the other end of string is hung another block of mass m2. The acceleration of the system is

Q: A block of mass m1 rests on a horizontal table. A string tied to the block is passed on a frictionless pulley fixed at the end of the table and to the other end of string is hung another block of mass m2 . The acceleration of the system is

(a) $\displaystyle \frac{m_2 g}{m_1 + m_2}$

(b) $\displaystyle \frac{m_1 g}{m_1 + m_2}$

(c) g

(d) $\displaystyle \frac{m_2 g}{m_1}$