Solve the below problem:
Q: A 15-g magnet D is released from rest in the position shown, falls a distance of 320 mm, and becomes attached at A to the 200-g steel bar AB. Assuming that the impact is perfectly plastic, determine the angular velocity of the bar and the velocity of the magnet immediately after theimpact.