I have the following equality: \frac{x+y}{a}=0
I want to simplify this equality, ie: x = -y
I’m trying the following code, but without success:
using SymPy
x,y,a = symbols("x,y,a")
eq1 = Eq((x+y)/a,0)
simplify(eq1)
I have the following equality: \frac{x+y}{a}=0
I want to simplify this equality, ie: x = -y
I’m trying the following code, but without success:
using SymPy
x,y,a = symbols("x,y,a")
eq1 = Eq((x+y)/a,0)
simplify(eq1)
Maybe solve(eq1)
or solve(eq1,x)
works for this and other cases.