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

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 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 module ''') File C:/Documents and Settings/User/Desktop/hh.py, line 26, in ssolve soln = solve(eq, *syms) File

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

[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] how do i solve for an unknown variable without transposing.

2012-04-22 Thread phneoix
hi, i have been using spreadsheet for modelling of mathematical problems. is it possible to use sympy for the same. eg. T=f*d T=100 f=? d=10 . i can use goalseek function in spreadsheet to find the value of 'f'. can i use sympy for the same sort of problems without having to transpose the