Write a polynomial function for each set of zeros.

x = sqrt(2), -i

2 answers

f(x) = (x - sqrt(2))(x + i)
AAAaannndd the bot gets it wrong yet again!
Usually they want a polynomial with real coefficients.
If so, then that would be
(x-√2)(x^2+1)

If they also want integer coefficients, then that would be
(x^2-2)(x^2+1)