Maths & numbers
Linear equation solver
Solve a single equation of the form ax + b = c.
A clear answer. Here’s how.
For non-zero a, x=(c−b)/a. When a is zero, distinguishes no solution from infinitely many solutions by comparing b and c. Uses ordinary floating-point arithmetic.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Coefficient a
- 3
- Constant b
- 5
- Right side c
- 20
Example result
- x
- 5