I'm not very familiar with the mathematical terms, so the subject may
not be correct. Please allow me to demonstrate with an example.
This is the input used with Wolfram Alpha.
(1x)+(1y)+(1z)=1, (1x)=(2y)=(3z)
I've let sympy successfully solve a simpler version of it.
(1x)+(1y)=1, (1x)=(2y)
x = Symbol('x')
y = Symbol('y')
f1 = 1*x+1*y-1
f2 = 1*x-2*y
print nsolve((f1,f2),(x,y),(-1,1))
This is what I tried for the equations in question.
x = Symbol('x')
y = Symbol('y')
z = Symbol('z')
f1 = 1*x+1*y+1*z-1
f2 = 1*x-2*y
f3 = 2*y-3*z
print nsolve((f1,f2,f3),(x,y,z),(-1,1))
TypeError: <lambda>() takes exactly 3 arguments (1 given)
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.