.
The formulas and the plot in the post by @Mananth may shock anyone who has brain cells in his (or her) head.
Therefore, I came to present the solution in the normal form as it SHOLUD be done.
Consider the cylinder of the diameter of 6 cm and the height of 6 cm.
The volume of the water which went out was HALF of the volume of this cylinder
= = = 84.78 cm^3.
The volume of the water left in the ORIGINAL cylinder (remained in the original cylinder) is
= - 84.78 = = 226.08 cm^3. ANSWER
------------------
Solved and normally presented.