Solve a quadratic equation
Decide a: 2
Decide b: 6
Decide c: 2
The Quadratic equation for the results
Result for x: -0.381966
This actually looks reasonable. One of the roots of 2x2 + 6x + 2 is -0.381966.
I'm guessing your question is related to the second output. If we stick this number back into the equation, we get 2.22045e-016. Why isn't this 0? The reason is that we have small rounding errors whenever we deal with floating point numbers. The only way to avoid this is to represent a number with an infinite number of bits which is impossible. Most implementations use 64 bits for a double, so that's all of the precision that we get.
In the non-computer world, this would be similar to: