The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math.num-analysis

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: finding numerical roots of a polynomial in mathcad 7.0
Replies: 1   Last Post: Nov 4, 2000 2:07 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Leon Granowitz

Posts: 16
Registered: 12/8/04
Re: finding numerical roots of a polynomial in mathcad 7.0
Posted: Nov 4, 2000 2:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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...n-1, 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 |

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 |

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.