Classic Equations

Mon 01 January 2018


Quadratic Equation

$$ 0 = ax^2 + bx + c $$

Quadratic Formula

Solutions, aka roots, represent the x values at which any parabola crosses the x axis.

Derivation

$$ x={\frac {-b\pm {\sqrt {b^{2}-4ac\ }}}{2a}} $$

Example $$ -14.4 x^{2} + 71.8 x + 5.083 = 0 $$

from sympy import *
x = var('x')
x = 3
solve(-14.4*(x**2)+71.8*x+5.083, x)
[-0.0698162934055920, 5.05592740451670]