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
I don't know how best to ask this question. If I have a equation with more
unknowns that knowns and want to know the possible solutions and get
something like this,
>>> solve(a*x+a+b*y-c-d, a, b)
[(0, (c + d)/y), (c/(x + 1), d/y), (d/(x + 1), c/y), ((c + d)/(x + 1), 0)]
Is there some significan
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
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
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
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
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
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
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
Am Dienstag, 8. Mai 2012 10:44:04 UTC+2 schrieb smichr:
>
> I don't know how best to ask this question. If I have a equation with more
> unknowns that knowns and want to know the possible solutions and get
> something like this,
>
> >>> solve(a*x+a+b*y-c-d, a, b)
> [(0, (c + d)/y), (c/(x + 1), d/
>
> I get something else:
>
solve(a*x + a + b*y - c - d, a, b)
> ⎡⎧ -b⋅y + c + d⎫⎤
> ⎢⎨a: ⎬⎥
> ⎣⎩ x + 1 ⎭⎦
>
> It does not really make sense to me to return exactly 4 solutions. However,
> you can use two special solutions to get the general one (constructing a
> line):
>
11 matches
Mail list logo