pub fn solve_quadratic(
    coefficients: [f32; 3],
    error_margin: f32
) -> (f32, Vec<Root>)
Expand description

Finds the discriminant and roots of a degree 2 polynomial.

0 = coefficients[2] * x.powi(2) + coefficients[1] * x + coefficients[0]