LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

quadratic

Solved!
Go to solution

I am using Polynomial Roots VI to solve simple quadratic equation but alwas ge the wrong answer. Let us have simple proplem 2*X^2+2*X+0=0, the roots of thos are -1,0 but the VI gives different roots.

0 Kudos
Message 1 of 5
(3,650 Views)
Solution
Accepted by topic author Husain111

Check your array, it is currently [0, 2, 2, 4]

Message 2 of 5
(3,637 Views)

Yes.  You are asking the Root Finder to find the roots of a cubic (just because you can't "see" the fourth coefficient in your Constant Array doesn't mean it isn't there ...)

 

BS

Message 3 of 5
(3,627 Views)

Well stoppted. It was a studipd mistake from my side.

0 Kudos
Message 4 of 5
(3,561 Views)

Don't beat yourself up over it.  That's why it's always important to have  a second set of eyes to look at the problem.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(3,450 Views)