MathGroup Archive 2005

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

Search the Archive

Re: Replacement rule for a quotient

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60412] Re: [mg60394] Replacement rule for a quotient
  • From: "David Park" <djmp at earthlink.net>
  • Date: Fri, 16 Sep 2005 03:48:52 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Nicolas,

(a^2*c^3*d*e)/(b^2*f^3*g) + a/b
% /. a -> b*q

q + (c^3*d*e*q^2)/(f^3*g)

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

From: Nicolas Girard [mailto:nicolas.girard at strasbourg.fr]
To: mathgroup at smc.vnet.net


Hi all,
I'm afraid I couldn't find how to write the replacement rule that would
transform, for instance


a^2.c^3.d.e   a
----------- + -
b^2.f^3.g     b

into

    c^3.d.e    
q^2.-------- + q
     f^3.g     


where . is the standard Times[] and ^ is the standard Power[].

Could you please give me a hand for this ?

Many thanks in advance,

cheers,
Nicolas



  • Prev by Date: Re: basic issue with do and :=
  • Next by Date: Re: Mathematica can't solve simple system of equations
  • Previous by thread: Re: Replacement rule for a quotient
  • Next by thread: Re: Replacement rule for a quotient