Re: solve and simplify. force left hand side to be 0==
- To: mathgroup at smc.vnet.net
- Subject: [mg51177] Re: [mg51152] solve and simplify. force left hand side to be 0==
- From: "David Park" <djmp at earthlink.net>
- Date: Thu, 7 Oct 2004 05:26:03 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Sean, Just Map Simplify to the appropriate level. sde = { 0 == v1 - d1 e[0] + k2 es[0] - k1 e[0] s[0], 0 == -k2 es[0] - k3 es[0] + k1 e[0] s[0], 0 == k3 es[0] - d3 p[0], 0 == v2 + k2 es[0] - d2 s[0] - k1 e[0] s[0]}; sv = {e[0], es[0], p[0], s[0]}; step1 = Solve[sde[[1]], e[0]][[1, 1]] sde1 = sde /. step1 Map[Simplify, %, {2}] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: sean kim [mailto:sean_incali at yahoo.com] To: mathgroup at smc.vnet.net consider a system such as, sde = { 0==v1-d1 e[0]+k2 es[0]-k1 e[0] s[0], 0==-k2 es[0]-k3 es[0]+k1 e[0] s[0], 0==k3 es[0]-d3 p[0], 0==v2+k2 es[0]-d2 s[0]-k1 e[0] s[0]}; sv = {e[0],es[0],p[0],s[0]}; Solve[sde[[1]], e[0]] sde1= sde/.% %//Simplify shows once I simplify the solution, the structure of 0== stuff... is lost. is there anyway to force Simplify to keep the structure so that left hand side is always 0== stuff? thanks in advance for any insights. sean __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com