LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

derivative of an ecuation

Solved!
Go to solution

Hello to everyone,

 

Is there a way to calculate the derivative of a polynomial? I attached the way I calculate the polynomial. Also I want to evaluate the derivated ecuation in Y equal to zero to obtain the maximum of the polynomial equation of order 2.

 

Thank you in advance.

0 Kudos
Message 1 of 5
(2,963 Views)

Hi Inigo,

 

simple math: the derivative of a polynomial sum(a_i × x^i) is sum(i × a_i × x^(i-1) ).

 (Using Word: check.png)

 

You get the polynomial coefficients a_i from that function!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,953 Views)
Solution
Accepted by topic author IñigoP

@IñigoP wrote:

Hello to everyone,

 

Is there a way to calculate the derivative of a polynomial? I attached the way I calculate the polynomial. Also I want to evaluate the derivated ecuation in Y equal to zero to obtain the maximum of the polynomial equation of order 2.

 

Thank you in advance.


have you tried "nth derivative of polynomial.vi" ?

0 Kudos
Message 3 of 5
(2,937 Views)

polynom.png

0 Kudos
Message 4 of 5
(2,930 Views)

Thank you, it worked!

0 Kudos
Message 5 of 5
(2,925 Views)