local a = 2
local b = 6
local c = 4
local x1
do
local a2 = 2 * a
local d = math.sqrt(b ^ 2 - 4 * a * c)
x1 = (-b + d) / a2
x2 = (-b - d) / a2
end
print(x1, x2)
--https://pt.stackoverflow.com/q/325490/101
bG9jYWwgYSA9IDIKbG9jYWwgYiA9IDYKbG9jYWwgYyA9IDQKbG9jYWwgeDEKZG8KICAgbG9jYWwgYTIgPSAyICogYQogICBsb2NhbCBkID0gbWF0aC5zcXJ0KGIgXiAyIC0gNCAqIGEgKiBjKQogICB4MSA9ICgtYiArIGQpIC8gYTIKICAgeDIgPSAoLWIgLSBkKSAvIGEyCmVuZApwcmludCh4MSwgeDIpCgotLWh0dHBzOi8vcHQuc3RhY2tvdmVyZmxvdy5jb20vcS8zMjU0OTAvMTAx