cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

polyroots() fcn not working correctly?

gLanzer
1-Visitor

polyroots() fcn not working correctly?

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 3
RichardJ
19-Tanzanite
(To:gLanzer)

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!

____________________

MCADpolyroots.gif

_____________________

gLanzer
1-Visitor
(To:gLanzer)

thank you guys.

Announcements

Top Tags