Linear Equation
Solves a linear equation ax + b = 0 and returns root x = -b/a.
x
-3,00
ax + b = 0
Advertisement
Formula
ax + b = 0 → x = −b / a
Example: 2x + 6 = 0 → x = −3
Methodology
ax + b = 0 solves to x = −b/a (a ≠ 0).
Example
2x + 6 = 0 → x = −3.