Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg4626] Re: Piecewise Functions
  • From: William Weglinski <willwb19 at mail.idt.net>
  • Date: Wed, 21 Aug 1996 03:25:41 -0400
  • Organization: IDT Corporation
  • Sender: owner-wri-mathgroup at wolfram.com

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