[sympy] Re: how do i solve for an unknown variable without transposing.

2012-04-29 Thread phneoix
Thanks, couldn't reply due to internet outage. Tried it out successfully. is to possible to solve multiple equations which are dependent on each other -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@g

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-04-29 Thread Chris Smith
On Sun, Apr 29, 2012 at 3:48 PM, phneoix wrote: > Thanks, >     couldn't reply due to internet outage. Tried it out successfully. > is to possible to solve multiple equations which are dependent on each > other Yes. That was shown in the docstring of the ssolve function that I sent in my repl

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread phneoix
values={T: 300, a: 3, f: 6, W: 200} print sy.solve([ sy.Eq(f, m*a).subs(values), sy.Eq(T, f*d).subs(values), sy.Eq(W, m*g).subs(values) ]) >>>For nonlinear systems of equations, symbols should be given as a list so as to avoid ambiguity in the results. solve sorted the

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread Chris Smith
On Tue, May 8, 2012 at 2:27 PM, phneoix wrote: > values={T: 300, a: 3, f: 6, W: 200} > > print sy.solve([ >     sy.Eq(f, m*a).subs(values), >     sy.Eq(T, f*d).subs(values), >     sy.Eq(W, m*g).subs(values) >     ]) >     For nonlinear systems of equations, symbols should be >     given as a l

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread phneoix
copied and ran your code as it is... but still getting... i am using 0.7.1 Traceback (most recent call last): File "C:/Documents and Settings/User/Desktop/hh.py", line 45, in ''') File "C:/Documents and Settings/User/Desktop/hh.py", line 26, in ssolve soln = solve(eq, *syms) File "C

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread phneoix
solved, downloaded latest source from github and thanks a lot for prompt reply... :) -- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/4rlC49mLxKUJ. To post to this gr

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread Chris Smith
The version you have might not be the most up to date version of 0.7.1. Have you looked at https://github.com/sympy/sympy/wiki/Getting-the-bleeding-edge ? -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@google

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread Chris Smith
On Tue, May 8, 2012 at 3:23 PM, phneoix wrote: > solved, > downloaded latest source from github > > and thanks a lot for prompt reply... :) Oops. Forgive the redundant post regarding the need to do what you have already done. /c -- You received this message because you are subscribed to th

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread phneoix
Thanks Chris, i always wanted an open source software for modelling math equations... i have been using TKsolver, spreadsheet for that purpose... sympy is really great software with really great guys supporting it Thanks a lot... -- You received this message because you are su

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-08 Thread Chris Smith
On Tue, May 8, 2012 at 10:01 PM, phneoix wrote: > Thanks Chris, >    i always wanted an open source software for modelling math > equations... i have been using TKsolver, spreadsheet for that purpose... > sympy is really great software with really great guys supporting it > > Thanks a

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-13 Thread phneoix
how do i raise an exception if certain equation is unsolvable (maybe due to lack of sufficient data) thanks.. -- You received this message because you are subscribed to the Google Groups "sympy" group. To view this discussion on the web visit https://groups.google.com/d/msg/sympy/-/nfJCm

Re: [sympy] Re: how do i solve for an unknown variable without transposing.

2012-05-13 Thread Chris Smith
On Sun, May 13, 2012 at 9:57 PM, phneoix wrote: > how do i raise an exception if certain equation is unsolvable (maybe due to > lack of sufficient data) > I think it already raises an error in such cases. Can you give a specific example? Otherwise, you can raise an error. Something like rai