Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: finding numerical roots of a polynomial in mathcad 7.0
Posted:
Nov 4, 2000 2:07 AM


Create a matrix M of n columns where each column contains the coefficients of a polynomial to be solved. Then set a range index, say i := 0...n1, and do polyroots(M*), where * is the column operator (control 6). You then get the answers in a matrix containing n matrices where each matrix has all the roots of the applicable column vector. Use expand matrix to see the answers.
Leon Granowitz  leong@att.net
Daniel Pilloff wrote:
> Hi, > > Does anyone know how to use the polyroots function in mathcad 7.0 to find > all of the roots of a polynomial when the coefficients are range variables? > Example, find the roots of ax^4 + bx^3 + cx^2 + dx + e, where a, b, c, d, > and e each range from 1 to 10. Also, does anyone know how to get MathCad to > select only the positive real roots for each set of (a,b,c,d,e) to be used > in a subsequent calculation? > > Thanks, > > Dan Pilloff > >  > ******************************************* > Daniel Pilloff > Albert Einstein College of Medicine > *******************************************
 Leon Granowitz  leong@att.net



