Element - ∆Q
- General Quadratic Solver
Description
Solve a quadratic equation of the form x^2 + ax + b = 0
Overloads
num-num
-roots(a, b) / x^2 + ax + b = 0
num-str
-evaluate single variable expression b with x=a
str-num
-evaluate single variable expression a with x=b
str-str
-solve equations a and b simultaneously for x and y
Examples
1 -2 ∆Q
=⟨-2|1⟩
29 -30 ∆Q
=⟨-30|1⟩
69 420 ∆Q
=⟨-62.2533781727558|-6.74662182724416⟩