Given the model of the cylindrical can as shown below:
The circumference of the cylinder is

Volume of the cylinder is 7 cubic inches.
Required: Height of the can in inches
The circumference of the cylinder is expressed as the circumference of its circular cross-section.
Thus,

this gives

The volume of a cylinder is expressed as

Hence, the height of the can in inches is 4.3 (nearest tenth).