MathGroup Archive 1996

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

Search the Archive

Re: Piecewise Functions

  • To: mathgroup at
  • Subject: [mg4626] Re: Piecewise Functions
  • From: William Weglinski <willwb19 at>
  • Date: Wed, 21 Aug 1996 03:25:41 -0400
  • Organization: IDT Corporation
  • Sender: owner-wri-mathgroup at

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.


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