Two blocks of masses 8 kg and 12 kg are connected at the two ends of a light inextensible string. The string passes over a frictionless pulley. The acceleration of the system is
(2)

Let be the common acceleration of the system and be tension of the string.
The equations of motion of two blocks are
and
Adding (i) and (ii), we get
or