As i’ve read in the sympy docs, the solve() command expects an equation to solve as being equal to zero.
As the equations i would like to solve are not in that form and in fact solving them for 0 is my purpose in using a library like sympy, is there a way to get around this?
As i’ve read in the sympy docs, the solve() command expects an equation to
Share
What the docs are saying is that if you do something like
Then
solveis implicitly assuming thatx**2 - 1is equal to0. If you wanted to solvex**2 - 1 = 2, then you could either subtract2from both sides, to getor you could use the
Eq()class