I want to take the numerical solution of a variable in a system of equations and use it later in the program. But all I can get is the symbolic definition. Here's a simplified example of the problem.
sage: var('x y z')
sage: eq1 = x + y + z == 6
sage: eq2 = 2x - y + 2z == 6
sage: eq3 = 3x + 3y - z == 6
sage: solve([eq1, eq2, eq3], x, y, z)
sage: v = x
sage: print v
Output: [ [x == 1, y == 2, z == 3] ] x
I assume the syntax for solving the system is correct because I get the right answers but I want v = 1, not v = x. Thanks.