ax^2+bx+c=0 This is a quadratic equation in it's simplist form. Give the project values of a,b, and c to have it solve for x using the quadratic formula. If the two variables in the middle show NaN, that means you gave it an incorrect input.