Solve for the magic angle