Make Polynomial from Zeros

Create the term of the simplest polynomial from the given zeros. Further polynomials with the same zeros can be found by multiplying the simplest polynomial with a factor.
The polynomial can be up to fifth degree, so have five zeros at maximum. Please enter one to five zeros separated by space.


Notation: or



Example: with the zeros -2 0 3 4 5, the simplest polynomial is x5-10x4+23x3+34x2-120x. Factorized it is written as (x+2)*x*(x-3)*(x-4)*(x-5).

In the notation x^n, the polynomial e.g. can be used at the function graphs plotter.