+ Reply to Thread
Results 1 to 5 of 5

derivative from polynomial

  1. #1
    Registered User
    Join Date
    07-23-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    derivative from polynomial

    Hi,
    Could anyone please suggest how to identify the the slope of the polynomial (6th order) first increases the most rapidly? I guess I would need 2nd derivative for that.
    Thank you,
    dspk

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

    Re: derivative from polynomial

    I am not sure I fully understand your question.

    Here's a discussion about finding derivatives. The suggestion I offered was for VBA, but the same thing could easily be done in a spreadsheet as well. http://www.excelforum.com/excel-prog...on-in-vba.html

    The main thing to realize is that Excel cannot do the calculus for us. Excel can be taught how to take derivatives, but it does not inherently know how to do it.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    07-23-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: derivative from polynomial

    Thank you for such prompt response! Please let me elaborate my question a bit. I have a curve, and I need to fit the polynomial function into it. Then I need to find the point where the slope of that polynomial line is changing the most rapidly (see attached figure). Then I need to indicate the value of that rate. Do you think we could teach Excel doing this?
    Thank you!derivativeCalculations_Page_02.jpg

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

    Re: derivative from polynomial

    Absolutely. I am a firm believer that, before we can teach Excel (or any computer programming language) how to do this, we must first be conversant with the math behind the problem. How is your calculus? Could you do this with pencil and paper?

    Another important part of programming is breaking a problem down into simple steps. A broad outline of how I see a solution working:

    1) Data entry
    2) Perform regression
    3) Derive first derivative
    4) Because finding the max of a function is a the same as finding the roots of the derivative of that function, take the 2nd derivative.
    5) Find the root(s) of the 2nd derivative.
    6) Test to make sure we have found the correct solution.

  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: derivative from polynomial

    That function has decidedly non-polynomial behavior over the first 40% of its domain. Unless this is just the exercise as stated, I'd be reluctant to draw any inference based on a polynomial fit.
    Entia non sunt multiplicanda sine necessitate

+ 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. First Derivative
    By sramalin in forum Excel General
    Replies: 8
    Last Post: 08-24-2015, 06:52 AM
  2. [SOLVED] partial derivative of a function
    By Ali Baba in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2013, 12:04 AM
  3. Derivative of a function
    By krusader23 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-01-2013, 02:06 AM
  4. request how derivative of function in vba?
    By hamidciv in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-03-2012, 04:55 PM
  5. Second derivative
    By Royshh in forum Excel General
    Replies: 0
    Last Post: 04-27-2005, 06:58 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