Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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