I need python to solve a fairly simple algebra equation for one variable.
How can I set 2 simple equations equal to each other and return the value of x?
Example:
x+4 = 2(-x+5)
desired output: 2
I need python to solve a fairly simple algebra equation for one variable.
How can I set 2 simple equations equal to each other and return the value of x?
Example:
x+4 = 2(-x+5)
desired output: 2