polynomial definition

how to input polynomial in the form...
(x-a)^n+(x-a)^(n-1).....+(x-a)+c=0

1 comentario

John D'Errico
John D'Errico el 21 de Mzo. de 2011
"Input" a polynomial? What will you do with it? Knowing your goal here is surely the important thing.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Mzo. de 2011

0 votos

syms x a c MyPoly = (x-a)^n + (x-a)^(n-1)... +(x-a)+c;
You could follow that with
solve(MyPoly,x)

Categorías

Más información sobre Polynomials en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Mzo. de 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by