Re: [sympy] Solving a quadratic symbolically (Sympy vs. Mathematica)

2013-06-30 Thread Justin Carden
So, I switched to the 'sympy.nsolve' method and got the approximate solutions similar to Mathematica. Yes, the system is nonlinear. While the method in the Mathematica code was 'NSolve', the solution set returned was the same for the 'Solve' method. Regardless, this helped a bunch. Thanks! On S

Re: [sympy] Solving a quadratic symbolically (Sympy vs. Mathematica)

2013-06-30 Thread Justin Carden
day, June 30, 2013 12:44:45 PM UTC-7, Stefan Krastanov wrote: > > f_1 = x + s1 + s2 + s5 - t1 > > this is all that you need to do if I understand your question correctly > > Or if you wish, you can create 'Eq(right_hand, left_hand)' instances. > > On 30 June 20

[sympy] Solving a quadratic symbolically (Sympy vs. Mathematica)

2013-06-30 Thread Justin Carden
Hi all, I'm trying to make the switch from Mathematica to Python in the lab, but I'm running into a small problem binding the result space to a boundary. Specifically, I'm trying to assign equality to each polynomial equation in a system to a total t1,t2 and t3 to solve the system symbolically.