For equation of the general form : ax^2 + bx + c = 0, which is what appears in all textbooks, the quadratic formula, yup, is as stated in previous answers.
I have used a more simplified version, as follows :
Eliminate the 'a' coefficient by dividing by 'a' and let the new terms
notice the common 4 in the sqrt, which can be rooted out as 2, then
x = { - 2B +/- 2*sqrt [ B^2 - C ] } / 2
x = { - B +/- sqrt [ B^2 - C ] }
therefore, if there is 'a', divide the whole equation by 'a' and then let the new 'b' be half of that ( of course, c/a becomes a new constant, which can also be labeled c), then
x = { - b +/- sqrt [ b^2 - c ] }
which I think is easier to use because it is less complicated.
i'm uncertain how difficult your concern could be... Quadratic is often a polynomial with a level of two. y=a(x-h)^2+ok is the formulation your vertex is (h,ok) your slope is "a" enable's say the vertex is at (a million,2). Your equation could be y=a(x-a million)^2+2.