In the given, ABCD is a four-bar mechanism, at the instant shown AB CD are vertical and BC is horizontal. AB is shorter than CD by 30 cm, AB is rotating at 5 rad/s and CD is rotating at 2 rad/s. The length of AB is
(a) 10 cm (b) 20 cm
(c) 30 cm (d) 50 cm