A small sphere B of mass 1 kg is released from rest in the position shown and swings freely in a vertical plane, first about O and then about the peg A after the cord comes in contact with the peg. The tension in the cord just after it comes in contact with the peg is
[Take g=10 m/s2]