only integers are accepted also you can't have a=0 since that would cause it to divide by zero and also if there is no x^2 it wouldn't be quadratic anyways