Colin is purchasing a can of beans. The can is in the shape of a right circular cylinder. If the volume of the can is 31.79 inches3 , and the diameter is 3 inches, what is the height of the can? Use 3.14 for π and round to the nearest tenth.

First, we need to find the radius of the cylinder, which is half of the diameter.

Radius = 3 inches / 2 = 1.5 inches

Next, we can use the formula for the volume of a cylinder to solve for the height:

Volume = π * radius^2 * height

31.79 = 3.14 * 1.5^2 * height
31.79 = 3.14 * 2.25 * height
31.79 = 7.065 * height
height = 31.79 / 7.065
height ≈ 4.5 inches

Therefore, the height of the can is approximately 4.5 inches.