The square frame is composed of four equal lengths of uniform slender rod, and the ball attachment at $O$ is suspended in a socket (not shown). Beginning from the position shown, the assembly is rotated $45^{\circ}$ about axis $A-A$ and released. Determine the initial angular acceleration of the frame. Repeat for a $45^{\circ}$ rotation about axis $B-B .$ Neglect the small mass, offset, and friction of the ball.