Monday, 30 July 2012

Polynomial equations in excel

Polynomial equations in excel: Download Polynomial Formula Excel

You all must be thinking what a topic for a software professional.
After a long time I had put a depth efforts to build one excel formula to get polynomial equation value.


I have taken following reference Material:
3rd Order Polynomial Trendline
     Equation: y = (c3 * x^3) + (c2 * x^2) + (c1 * x^1) + b
     c3: =INDEX(LINEST(y,x^{1,2,3}),1)
     c2: =INDEX(LINEST(y,x^{1,2,3}),1,2)
     C1: =INDEX(LINEST(y,x^{1,2,3}),1,3)
     b: =INDEX(LINEST(y,x^{1,2,3}),1,4)

     http://office.microsoft.com/en-us/excel-help/linest-HP005209155.aspx

Based on the above I have created a 6th order Polynomial trend-line.
Assuming:
1) B2:B9 is x axis
2) C2:C9 is y axis
3) A2 is x

=(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1)*A2^6)+(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,2)*A2^5)+(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,3)*A2^4)+(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,4)*A2^3)+(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,5)*A2^2)+(INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,6)*A2^1)+INDEX(LINEST(C2:C9,B2:B9^{1,2,3,4,5,6}),1,7)

Share your feedback for sure.

Regards,
Sagar

6 comments:


  1. Grab best holiday deals and discount up to $50 on flight tickets to India:


    Tripbeam.com
    Airfarebooking.ca
    Flyopedia.com
    Tripbeam.ca


    Babycouture is one-stop destination for baby and kids wear online.

    Buy kids wear online

    ReplyDelete
  2. The Uber Clone taxi booking app was built to fill a gap that other on-demand taxi services do not have; simply by incorporating unique functionality to this Uber clone app. The features we have on our Script Uber clone include.

    ReplyDelete
  3. These types of Netflix Clone development are in demand in the market and people are more attracted towards it though it is one of the best ideologies to establish a new business. So these types of clones are developed by business owners and entrepreneurs and as they are always interested in investing in these types of apps to get a good amount of revenue in return.

    ReplyDelete
  4. Great.This is right time to develop & launch your own ecommerce websites, The best way to tap into this market is to develop an B2B website like alibaba and quickly earn a reputation in the industry.

    ReplyDelete