Hello,
I have the following script .
import sympy as sym
i, r1, c1, r2, c2, t = sym.symbols('i, r1, c1, r2, c2, t' )
x1 = sym.Function('x1')
x2 = sym.Function('x2')
eq1 = r1*c1*sym.Derivative(x1(t),t) + x1(t) - x2(t) - r1*i
eq2 = r2*c1*sym.Derivative(x1(t),t) + r2*c2*sym.Derivative(x2(t),t) + x2(t)
- r2*i
sol=sym.dsolve((eq1, eq2))
print(sol)
If I run this I have an error : TypeError: cannot determine truth value of
Relational
Someone can help me please ?
Thank you
Dabitto
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/dee61077-0452-4635-b793-ec86b6c63851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.