+ Reply to Thread
Results 1 to 8 of 8

Help with getting an equation from a data table

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Question Help with getting an equation from a data table

    Hello All,

    I am making an aircraft performance calculator as a fun project for myself ( I am a student pilot ). I would like to make a formula for a given pressure alt and temperature based on the distances given from the aircraft performance charts. for example pressure alt is 1643 ft and the temp is 73 F have it give me a take-off distance based on the information from the data table.

    I tried doing a 2nd order poly equation but realized that the equation works for only 1 specific alt or specific temp and I need an equation that can do both at the same time.

    Thanks!

    Data Table.PNG
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Help with getting an equation from a data table

    Can you also add the expected result?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

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

    Re: Help with getting an equation from a data table

    I'm not a pilot or anything similar, so take this as an interesting math exercise. This looks similar to this discussion: https://www.excelforum.com/excel-pro...ml#post5173967 where I observed that a relatively simple power trendline [ln(TOD)=m*ln(V)+b] seems to work well as a regression equation for take off distance. The OP in the other thread was also including load weight (m) in his TOD tables, and I also made similar observations regarding how that variable seems to fit into the same model. See what you think.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Re: Help with getting an equation from a data table

    Quote Originally Posted by oeldere View Post
    Can you also add the expected result?
    That is what I am trying to find. The table shows what take-off distance you can expect at a given temp and air density, and this info is directly from the aircraft manual. I am trying to turn this information into a formula to basically fill the gaps, for example, it shows that I can expect 1280ft for pressure alt @ 1000ft and 32F but I need to develop an equation to say what would my take-off distance be if I am at 1486ft and 67F.

  5. #5
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Re: Help with getting an equation from a data table

    Quote Originally Posted by MrShorty View Post
    I'm not a pilot or anything similar, so take this as an interesting math exercise. This looks similar to this discussion: https://www.excelforum.com/excel-pro...ml#post5173967 where I observed that a relatively simple power trendline [ln(TOD)=m*ln(V)+b] seems to work well as a regression equation for take off distance. The OP in the other thread was also including load weight (m) in his TOD tables, and I also made similar observations regarding how that variable seems to fit into the same model. See what you think.
    Wow, very similar, basically the practical application to what the OP is working on. I also have charts with corresponding weights, which was going to be the next step after I figure this part of the solution out. What is V in your equation, molar volume? I haven't used LINEST for anything this complicated, just for polynomials, how would you set up your LINEST function to fit your ln(TOD)=m*ln(V)+b equation. I would guess that you would use EXP(m*ln(V)+b) to get your final take-off distance answer?

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

    Re: Help with getting an equation from a data table

    What is V in your equation, molar volume?
    Yes.
    how would you set up your LINEST function to fit your ln(TOD)=m*ln(V)+b equation
    Something like =LINEST(LN(known_TOD),LN(known_V)) should work.
    I would guess that you would use EXP(m*ln(V)+b) to get your final take-off distance answer?
    or the algebraically equivalent =EXP(b)*V^m or other equivalent expression.

  7. #7
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Re: Help with getting an equation from a data table

    Quote Originally Posted by MrShorty View Post
    Yes.
    Something like =LINEST(LN(known_TOD),LN(known_V)) should work.
    or the algebraically equivalent =EXP(b)*V^m or other equivalent expression.
    I must have something incorrect. Thanks again MrShorty!
    Attached Files Attached Files

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

    Re: Help with getting an equation from a data table

    LINEST() is an array function that outputs 2 (or more) values. As is, you are only outputting the m value (not mass but slope in the y=mx+b regression equation) and not outputting the b value. Try these edits:

    1) Select X5:Y5 and re-enter the LINEST() function. X5 should contain m (slope) and Y5 should contain b.
    2) Change X7 to be =Y5
    3) Edit X6 so the exponent is referring to X5 =EXP(X7)*X8^X5

    That should give you a better value in X6 (I get 358.483).

+ 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. Using Trendline Equation to create a data table
    By Stevecoop in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2019, 05:33 PM
  2. Creating Automatic Summary Tables from a Master Data Table (Equation?)
    By tjb0012 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2017, 04:59 PM
  3. How to calculate an equation on every cell of a data table?
    By Szkeptik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2017, 10:27 AM
  4. Simple Table, but Complex Equation
    By Vladamir in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-05-2014, 01:46 PM
  5. Equation for Pasting value in serial Table
    By x_ampl1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2013, 11:07 AM
  6. Replies: 3
    Last Post: 03-06-2011, 01:38 PM
  7. CSV data manipulation in Excel - use a macro? equation? pivot table?
    By GBACS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2007, 01:59 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