A small bucket of mass, M kg, is attached to a long inextensible cord of length L m. The bucket is released from rest when the cord is in a horizontal position. At its lowest position, the bucket scoops up m kg of water and swings upto a height h. The height h in meters is: