1 | initial version |
Use an equation to encode the relations between the variables.
You can then solve the equation with respect to the variable of your choice.
An example:
sage: x,y,z = var('x y z')
sage: eq = x==y+z
sage: solve(eq, x)
[x == y + z]
sage: solve(eq, y)
[y == x - z]