Takes n*x**2+c
added logic notation instead of words