MathGroup Archive 2005

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

Search the Archive

Re: ReplaceAll / sequential replacements versus joint replacement

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55459] Re: [mg55429] ReplaceAll / sequential replacements versus joint replacement
  • From: DrBob <drbob at bigfoot.com>
  • Date: Thu, 24 Mar 2005 03:42:01 -0500 (EST)
  • References: <200503231034.FAA03987@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

When e1 = a + b + a/b, you'll find that result1 is Indeterminate but result2 is 0.

And that's entirely correct.

Bobby

On Wed, 23 Mar 2005 05:34:40 -0500 (EST), Ronald Wendner <Ronald.Wendner at uni-graz.at> wrote:

> Suppose there is an expression e1 which depends, among others, on variables
> a and b.
> Replace both a and b by zero:
>
> e1/.{a->0,b->0} Mathematica gives, say, result1.
>
> Next, consider
>
> e2 = e1/.{a->0};
> e2/.{b->0} Mathematica gives, say, result2.
>
> How can result 1 differ from result 2?
>
> For my specific problem, I also attach a short Mathematica notebook.
> [Contact the author to obtain the notebook - moderator]
>
> I'd appreciate any help.
>
> Many thanks,
> Ron
>
>
>
>
>



-- 
DrBob at bigfoot.com


  • Prev by Date: Re: appending '.' in CForm
  • Next by Date: Re: ReplaceAll / sequential replacements versus joint replacement
  • Previous by thread: ReplaceAll / sequential replacements versus joint replacement
  • Next by thread: Re: ReplaceAll / sequential replacements versus joint replacement