The ends of a 9-lb rod AB are constrained to move along slots cut in a vertical plate as shown. A spring of constant k=3 lb/in. is attached to end A in such a way that its tension is zero when θ =- 0. If the rod is released from rest θ=0°, determine the angular velocity of the rod and the velocity of end B when θ = 0.