You can
put this solution on YOUR website!

Using thi equation, choose r and solve for h or choose h and solve for r.
.
.
.
As an example,
Let

,

So when the can has a height of 1 inch, the radius of the can should be 0.76 to hold 1.8 cubic inches.
.
.
.
Let

,

So when the can has a radius of 1 inch, the height of the can should be 0.573 to hold 1.8 cubic inches.