MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simple question from a biologist

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67159] Re: [mg67139] Simple question from a biologist
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 11 Jun 2006 02:17:20 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Sol = Solve[{
          {{-x,0,z},{x,-y,0},{0,y,-z}}.{A,B,C}==0, 
          A + B + C == 1}, {A, B, C}][[1]];

where [[1]] is used to strip the outer brackets

rate=A*x/.Sol

(x*y*z)/(x*y + z*y + x*z)

(A*x==B*y==C*z)/.Sol

True


Bob Hanlon

---- tnad <terry_najdi at hotmail.com> wrote: 
> I'm a bit new to this so please bear with me. I solved this eqation:
> 
> Sol = Solve[{{{-x, 0, z}, {x, -y, 0}, {0, y, -z}}.{A, B, C} == 0, A + B + C == 1}, {A, B, C}]
> 
> and got the ouputs of A, B and C interms of x,y, and z each.
> 
> Now I want to express a term called "rate" where rate = Ax = By = Cz in terms of x, y and Z only.
> 
> So I tried to do this:
> Solve[rate == Ax , rate] /. Sol
> 
> but I cannot get the rate in terms of x,y and z.
> Is there a better way to do this? Also if someone knows of a better tuttorial (better than the built-in tuttorial) for mathematica, please let me know.
> 

--

Bob Hanlon
hanlonr at cox.net



  • Prev by Date: Re: Simple question from a biologist
  • Next by Date: Re: No StringCompare in Mathematica?
  • Previous by thread: Re: Simple question from a biologist
  • Next by thread: RE: Simple question from a biologist