The correct option is D 2 m/s2
Considering the two blocks A and B as a system, 5 N force is the external force acting on the system.
From the concept of centre of mass, we can find the acceleration of c.o.m by using the second law of motion,
acom=Fmtotal
where, mtotal is the total mass of the system.
⇒F=mtotal×acom⇒5=mtotal×acom ......(1)
(Given)
If mA is the mass of block A and mb is the mass of block B then acceleration acom,
acom=mAaA+mBaBmA+mB
⇒mtotal×acom=mAaA+mBaB
⇒5=1×3+1×aB [From (1)]
⇒aB=2 m/s2
Alternate:
Tension in the spring =1×3=3 N
Applying Newton's law on body B,
5−3=1×a
⇒a=2 m/s2
Why this question?Concept -The concept of centre of mass converts a systemof many particles/bodies into a single particle/bodysystem. This makes our calculations easier.