A water barrel stands on a table of height h. If a small hole is punched in the side of the barrel at its base, it is found that the resultant stream of water strikes the ground at a horizontal distance R from the barrel. The depth of water in the barrel is