Skip to main content
1-Visitor
August 12, 2010
Question

polyroots() fcn not working correctly?

  • August 12, 2010
  • 3 replies
  • 2383 views

hi guys,

i can't figure out what i did wrong..

(or it's just mathcad's fault?)

polyroots() seems to be giving incorrect answers..

attached is the worksheet i made

btw, mathcad15 here.

thanks..

3 replies

19-Tanzanite
August 12, 2010

You have the coefficients reversed. For your vector, V, try polyroots(reverse(V)).

You should always check the order of coefficients for anything to do with polynomials. Even for only one independent variable the they could be ordered high to low or low to high. If you have more than one one independent variable then the coefficients could be ordered in many different ways!

1-Visitor
August 12, 2010

____________________

MCADpolyroots.gif

_____________________

gLanzer1-VisitorAuthor
1-Visitor
August 13, 2010

thank you guys.