Sympy is not doing the substitution of a symbol with a value when it has a specified assumption
Sympy is not doing the substitution of a symbol with a value when it has a specified assumption Question: I’m using the subs method to replace certain parameters in an expression with values prior to solving the equation. The following simple example works fine: from sympy import Symbol Q = Symbol("Q") exp1 = Q + …