MathGroup Archive 1996

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

Search the Archive

Re: Piecewise Functions


George Jefferson wrote:
>... 
> i'm stumped...

You can approximate the derivative numerically by using a function such as:

fderiv[x_]:=(f[x]-f[x-0.001] )/0.001

It might not be elegant, but it works.

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Re; Reordering lists?!
  • Next by Date: Re: Matching random numbers
  • Previous by thread: Piecewise Functions
  • Next by thread: suppressing initialization