Before the collision, the momentum is given by the mass of block B times its velocity, $m_Bv_{B,i}$. After the collision, the momentum is given by the total mass of the system (block A and block B) times the x-component of the final velocity, which is $v_f
Show more…