ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polynomial implemented in LabView

Gents,
 
I have an third order polynomial (calculated from an function of an item):
 
y = ax^3 + bx^2 + cx + d, where a, b, c, d are well-known constants.
x = ?
 
The parameter y is connected to LabView I/O port and it is measured. I need to calculate value of x for each time-step.
I know that I will get three solutions for each calculation. Does anybodu know how it can be implemented in the LabView?
 
eks:
 
y = 5*x^3 + 7*x^2 + 3*x + 2, where a=5, b=7, c=3, d=2
x = ?
 
 
Regards
Hariss
0 Kudos
Message 1 of 2
(2,698 Views)
Hi Hariss
 
I'm not sure, but this might be a way. It's just an idea so you have to check if it works for you.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 2
(2,682 Views)