A smooth cylinder of radius=10cm resting on a horizontal surface supports a bar AB of length 30cm which is hinged at A. The weight of the bar is 50N. The cylinder is kept from rolling away by a string AO of length 20cm. assuming all surfaces to be frictionless, find tension in the string.