Formula for volume of a cylinder is

where r is the radius and h is the height
We can set v equal to 112π as we are given that.
We can set r to 7 as we are given the diameter, 14, and the radius is half of that.

Simplify this equation,

Our goal is to to isolate h, as we are trying to find the height.
So divide 49π on both sides,
The π's cancel out and we are left with

or 16/7 centimeters.
Hope this helped! :)