(b) Initially rod stand vertically its potential energy $= mg\frac{l}{2}$
When it strikes the floor, its potential energy will convert into rotational kinetic energy
$mg\left( \frac{l}{2} \right) = \frac{1}{2}I\omega^{2}$
[Where, $I = \frac{ml^{2}}{3} =$ M.I. of rod about point $A$]
$\therefore mg\left( \frac{l}{2} \right) = \frac{1}{2}\left( \frac{ml^{2}}{3} \right)\left( \frac{v_{B}}{l} \right)^{2} \Rightarrow v_{B} = \sqrt{3gl}$