In the following figure, the object of mass m is held a rest by a horizontal force as shown. The force exerted by the string on the block is
A force F is applied horizontally to a block A of mass m1 which is in contact with a block B of mass m2, as shown in the figure. If the surfaces are frictionless, the force exerted by A on B is equal to