Volume of a cone = (1/3) pi x r^2 x h
Volume of a cylinder = pi x r^2 x h
Volume of the cylinder = pi x 2^2 x 3 = 37.68 cubic inches
Now set the volume for the cone to the volume of the cylinder and solve for the height.
37.68 = (1/3) x pi x r^2 x h
37.68 = (1/3) x pi x 3^2 x h
37.68 = (1/3) x pi x 9 x h
37.68 = 9.42 x h
h = 37.68 / 9.42
h = 4
The height of the cone is 4 cm.