       Re: Simple question from a biologist

• To: mathgroup at smc.vnet.net
• Subject: [mg67172] Re: Simple question from a biologist
• Date: Sun, 11 Jun 2006 02:18:02 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```On 6/10/06 at 4:53 AM, terry_najdi at hotmail.com (tnad) wrote:

>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?

I think the problem is you have created a new variable Ax when you meant the product of A and x. That is;

In:=
Solve[rate == A x,rate]/.Sol

Out=
{{{rate -> (x*y*z)/(x*y + z*y + x*z)}}}

seems to be what you want
--
To reply via email subtract one hundred and four

```

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