Sir,
Is it possible to use the value of a variable to make a subsitution ?
Example:
x = symbols("x")
c = IndexedBase("c")
eq1 = c[0] + c[1]*x+c[2]*x**2
x1 = 2
eq1.subs(x,x1)
Nothing change. How can we use the value of x1, here 2 ?
Sincerely.