Get the coefficient of the constant
I have the following equation :
(x - 1)^2 - (x - 2)^2 - (y - 1)^2 + y^2 + (z - 3)^2 - (z - 4)^2 == 1.75000000000000
which I factorized to :
2*x + 2*y + 2*z - 51/4
And then I would like to extract the -51/4
but the .coefficient()
doesn't work for constant so I have no idea to get the constant value.
This is already the question https://ask.sagemath.org/question/39060/get-the-constant-value-of-an-equation/
Please post the same question only once.