On Thu, Oct 4, 2012 at 2:09 AM, pdknsk <[email protected]> wrote:
> 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)
>

solve will work for you but you have to give it (usually) as many
equations as there are unknowns. In this case, there are 3 unknowns so
convert your equalities into relevant equations:


>>> var('x y z')
(x, y, z)
>>> solve([x+y+z-1,x-2*y,x-3*z])
{x: 6/11, z: 2/11, y: 3/11}

Chris

-- 
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.

Reply via email to