Ask Your Question

Balder's profile - activity

2014-02-20 09:53:54 +0200 received badge  Famous Question (source)
2013-05-21 21:02:02 +0200 received badge  Notable Question (source)
2013-01-08 08:59:10 +0200 received badge  Popular Question (source)
2012-01-07 14:25:45 +0200 commented answer Solving a simple system of equations

Hey, thanks for the answer. Unfortunately I am not following what you did. Where exactly did you make the change? In my original code I see no cz or cy...??

2012-01-07 12:15:49 +0200 asked a question Solving a simple system of equations

Hey Guys,

New to Sage and just trying to solve a simple system of equations. The system is below:

x,y,z,w,ha,hb,e,c = var('x y z w ha hb e c')

f1 = (c*(x+y)*(ha-x))-(e*x)

f2 = (c*(z+w)*(ha-x-z))-(c*z*(x+y)) - (e*z)

f3 = (c*(x+y)*(hb-y-w))-(c*y*(z+w)) - (e*y)

f4 = (c*(z+w)*(hb-w))-(e*w)

I want to find the equilibrium solutions, solving for x, y, z, w, when equations f1-f4 are equal to zero. So I try:

solve([f1==0,f2==0,f3==0,f4==0],x,y,z,w)

Unfortunately this causes Sage to hang (or it takes a remarkably long time to solve that I interrupt the process). This problem shouldn't be difficult to solve, but I am at a loss as to what to do. Perhaps I am going about this the wrong way??