+ Reply to Thread
Results 1 to 3 of 3

Quadratic Equation of the line

  1. #1
    Registered User
    Join Date
    10-14-2020
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    1

    Quadratic Equation of the line

    Hi.

    I've been asked (work) to try and get excel to generate the individual values of an equation of a line that has been plotted on the graph.

    It is a quadratic 3rd order plot. y=X3+X2+X+C.

    I have used the =Linest function to get the X3, X2 and X constants. I can not figure out how to get the C from the plots equation.

    The reason for this, is so that x values that are found can be imported and use the pulled out values to calculate y values.

    I have been told that you can put the 0 for x. I also have a foud y value for 0 but this does not give me the same values. I know they are close but that can't fly.

    Is there a way to get this C value?

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

    Re: Quadratic Equation of the line

    LINEST() should output the C parameter just like the other three parameters. You haven't explained exactly how you are using LINEST() to get the three coefficients, so I cannot say exactly what you are doing wrong that it is not giving you C as well, but LINEST() is calculating a C to with the other coefficients. It should just be a matter of seeing exactly how you are currently using LINEST() and then we should be able to figure out how to adjust to get C.

    If it helps, the helpfile for LINEST() uses a cubic equation as an example (just before the main examples): https://support.microsoft.com/en-us/...rs=en-us&ad=us
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Quadratic Equation of the line

    Hi

    Suppose your data in C3:F4 (first row - x values)

    Since the data is arranged horizontally, you must use this array formula
    select 1 row and four columns (ex. C6:F6), paste the formula and press Ctrl+Shift+Enter
    =LINEST(C4:F4,C3:F3^ROW($A$1:$A$3))

    If your data is arranged vertically (B18:C21), you must use this similar array formula
    select 1 row and four columns (ex. E18:H18), paste the following formula and press Ctrl+Shift+Enter
    =LINEST(C18:C21,B18:B21^COLUMN($A$1:$C$1))

    See the file
    Attached Files Attached Files

+ 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] Extract quadratic equation a, b, c values from given equation
    By Ciklopaz in forum Excel General
    Replies: 3
    Last Post: 01-11-2020, 02:03 PM
  2. Both quadratic and logarithmic equation fit the data.
    By Statisticum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-20-2017, 04:14 PM
  3. [SOLVED] Quadratic Equation Question
    By ChemistB in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-23-2014, 01:46 PM
  4. Quadratic Equation in VBA
    By vop2311 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-09-2014, 10:19 PM
  5. [SOLVED] Finding the Coefficients of a Quadratic Equation using VBA
    By kyleg222 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-26-2012, 10:38 AM
  6. How to determine factor A, B, C of quadratic equation
    By utanvn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2012, 07:29 AM
  7. Quadratic equation
    By Nes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2005, 10:52 PM

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