MathGroup Archive 1998

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

Search the Archive

Re: how to replace...?



Hi Yacine,

One idea is to use Series. For example

(f[y]-f[x])/(y-x) /. y->x + e + O[e]^2

will produce the output

f'[x] + O[e]

The O[e]^2 term will convert x+e into a Series expression, and then
Mathematica's rules for Series produces the output shown.

Carl Woll
Dept of Physics
U of Washington

On 14 May 1998, Yacine Ait-Sahalia wrote:

> Hi,
> 
> What should I do to systematically replace the limit
> 
>         (f[y]-f[x])/(y-x) /. y->x
> 
> by f'[x], no matter what the function f is?
> 
> Thanks!  
> 
> 
> 




  • Prev by Date: HElp on displaying output without the "Prviate`..." message
  • Next by Date: Re: Mathematica graphics Import
  • Prev by thread: Re: how to replace...?
  • Next by thread: Re: how to replace...?