If you can find the area of the ends and average them, then multiply it by
the average distance between them, it will give you the volume. If you use
inches, dividing the total cubic inches by 231 will yield the capacity in US
gallons.
"Matt Whiting" wrote in message
...
W P Dixon wrote:
Ok Guys and Gals,
I do not remember the formula for this to save my life, so I will see
if yall can come up with it. Yes I did check on the web, but did not see
the formula I need.
I want to figure the volume of a gas tank that will not be round or
square, It will have five sides and then the two ends of the tank. With
one end being larger than the other. I would give exact measurements ,
but being as I don't know what they will be yet I can't:} I need to find
the right volume in order to get the right measurement . Oh the dilemma !
Be gentle math wizards it's been 25 years since I have had to do this!

Depending on how irregular the tank shape is, you may have to solve this
using numerical integration. However, if the tank shape is the same in at
least one axis (say z or vertical), then figure the area of the shape in
the x-y plane and then simply multiply times the height, z, and equate
that to the volume you desire. Then solve for z.
Matt