Two clean roots
You enter
- A
- 1
- B
- -3
- C
- 2
You get
- Result
- Roots: x = 2, x = 1
- Check
- Substitution check (relative error): x = 2: 0; x = 1: 0
The equation factors as (x - 1)(x - 2) = 0. The tool lists 2 before 1, so the roots are not sorted from small to large.
Run through the tool’s own code.