+ Reply to Thread
Results 1 to 9 of 9

Interpolation, non linear. Need help please.

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    Napa
    MS-Off Ver
    2008
    Posts
    2

    Interpolation, non linear. Need help please.

    Greetings. I am calculating gallons for a wine tank. I've done all the numbers and I know the total gallons, but I need to chart the gallons-per-inch in the cone part of the tank.

    The cone is 32inch radius at the bottom, 9inch radius at top. It is 12" high. I've calculated that it holds 84 gallons, but I need to show this exponent over 12 cells in Excel.

    I don't know what to do. I've never used logest or growth or an exponent function. I've kept it simple up until now.

    here is a screen shot. The neck of the tank is 1.01 gallons per inch, and beneath the cone is the body which is 15.72 gallons per inch.

    Thank you for any help



    Tank dip.jpg

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Interpolation, non linear. Need help please.

    It seems to me that, before this can be a programming/spreadsheet problem, it needs to be a geometry/mathematics problem. Basic concepts:
    1) Start with the formula for the volume of a cone: http://www.basic-mathematics.com/volume-of-a-cone.html
    2) The apex of the cone is not used (since r does not go to zero, it goes to 9).
    3) The base of the cone has a a radius of 32.
    4) At any point between the real base and the apex, the radius of these intermediate bases changes by (32-9)/12 or 23 inches per 12 inches (just under 2 inches per inch).
    5) At any point in the cone shaped section, the volume of the cone shaped section will be:
    V(r=r(d))-V(r=9) r(d)=9+23/12*(d-4)

    Can I assume that your algebra skills are up to double checking and solving that kind of problem?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Interpolation, non linear. Need help please.

    I think the OP has the volume figured out. I think he's asking how to scale the 1 inch points of the cone in exponential units.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Interpolation, non linear. Need help please.

    I don't follow your calculations at all.

    How tall is the cylindrical base?
    Last edited by shg; 08-09-2015 at 01:58 PM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Interpolation, non linear. Need help please.

    Hmm.

    You have a tank that has

    • a cylinder of known radius and height on top

    • a cylinder of known radius and height on the bottom

    • the frustum of a cone of known height whose radius increases from the top cylinder radius to the bottom cylinder radius (and from your table, it appears to be 13" tall, not 12).

    It seems to me that those facts alone are sufficient to calculate the volume as a function of liquid height. Adding known volumes at any height is redundant -- it overdefines the problem.

    If you instead know accurately the cylinders' heights, and their radii (from gallons per inch), and the volume at the top of each, and also know that the cone matches the cylinders to and bottom, then the cone height must be variable to have the correct volume.

  6. #6
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Interpolation, non linear. Need help please.

    I've come up with this, but please check my calcs.

    conical_section.jpg

    From this we get that the height of the cone from (truncated) apex to the 9" radius point is 4.696", and to the 32" radius point is 16.696 inches. So strategy is to simply calculate full cone volume from the apex to each 1-inch dip marker, and then subtract the volume of the 4.696" high truncated cone.

    conical_section_cy.xlsx

  7. #7
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Interpolation, non linear. Need help please.

    And completing your dip table:

    conical_dip_table.jpg

    But there's definitely something wrong with the size of the change between Dip 16 and 17. Either there's still something I'm missing in my calcs, or the initial Gallon value in 17 is wrong. Please can you verify this?

  8. #8
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: Interpolation, non linear. Need help please.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    05-05-2015
    Location
    Napa
    MS-Off Ver
    2008
    Posts
    2

    Re: Interpolation, non linear. Need help please.

    Man, you all are crazy talented. Yeah two of you mentioned how my tank was off by one inch. That is what I might call 'winery brain'... It's just that simple inversion when your measuring tape reads 12" that the tank is more full than if the tape read 12.5"... So I probably need to go over the rest of the chart. My volumes, outside of the cone, are good, and the winery I work at was off by 3.5 barrels (210 gallons) the last time they pumped into the tank, so this is infinitely more accurate.
    Thank you so much for the help. I was thinking about completing the triangle as well, to help visualize the cone, but then I started drinking wine.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] how to do linear interpolation
    By fight2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2015, 08:40 PM
  2. Linear Interpolation help
    By jsuarez199 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-21-2013, 03:12 PM
  3. 2D linear interpolation
    By mochen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2012, 05:01 AM
  4. Linear Interpolation
    By mikethemonster in forum Excel General
    Replies: 0
    Last Post: 07-04-2011, 02:27 PM
  5. VBA Linear Interpolation
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-25-2010, 04:55 PM
  6. Linear Interpolation
    By Metalmaniac in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-03-2005, 10:05 AM
  7. [SOLVED] linear interpolation
    By Taha in forum Excel General
    Replies: 3
    Last Post: 01-31-2005, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1