The given diagram shows a circle with center O and radius . The angle AOB is radians.

Find the value of , in each of the following three cases :
(a) Given that the area of the triangle OAB is equal to the shaded area.
(b) Given that the ratio of the lengths of two arcs (minor AB to major AB ) is .