r/learnpython•
teerre

Equations in Sympy doubt

Hello

Let's say I have this

from sympy import * # I know this is bad

x,y = var('x','y')
some_eq = Eq(y, x*x)

How can I, for example, divide both sides of equation by x? So I would get something like Eq(x, y/x) or x = y/x

I know I don't need to do this to solve most things since there are built-in ways, I just want to know if it's possible in any "easy way"

Posted Aug 12, 2015, 4:05 PM UTC · edited

23
Loading comments…