Hi there
I have the following LSE:
Vm,Vp,Vinm,Vinp,Io,Ref,R1,R3,R4,R2a,R2b,Vo= symbols("V_- V_+ V_in- V_in+ I_out Ref R_1 R_3 R_4 R_2a R_2b V_out")
System = [(Vm-Vinm)/R3 - (Vo-Vm)/R4,\
(Vp-Vinp)/R1 - (Vo-Io*R2b-Vp)/R2a,\
Vm-Vp,\
]
which I want to solve for Io. So i do:
...this returns an expression for Io which is a rewrite of eq (2).
(
-R_1*V_+ + R_1*V_out - R_2a*V_+ + R_2a*V_in+)/(R_1*R_2b)
Know I'd like to have Io expressed in therms of all variables BUT Vo, which means that the therm Vo of equation (2) needs to be substituted by eq (1).
So I tried
solve(System, Io, exclude=[Vo])
But this returns exactly the same result as above.
How can I tell sympy to resolve this LSE against Io with substituting Vo ?