Piecewise Functions

• To: mathgroup at smc.vnet.net
• Subject: [mg4555] Piecewise Functions
• From: dwarf at wam.umd.edu (Dwarf)
• Date: Wed, 7 Aug 1996 04:18:03 -0400
• Organization: University of Maryland, College Park, MD
• Sender: owner-wri-mathgroup at wolfram.com

```I am trying to use Mma to solve a model where the system behaves a
certain way up to a point, and an entirely different way after that
point.  The result is something like:

f[x_/;x<4]:=0
f[x_/;x>=4]:=InterpolatingFunction<<...>>

This part I can get to work no problem.  For part of my analysis, I would
like to take the derivative of the function, but all I get is an identity

In[5]
f'[x]

Out[5]
f'[x]

Can anyone help?

+----------------------------+
|                            |   I understand mine's a risky plan,
|   Greg Anderson            |   and your system can't miss
|   dwarf at wam.umd.edu        |   but is security, after all a cause
|   timbwolf at eng.umd.edu     |   or symptom of happiness.
|                            |
+----------------------------+   Dream Theater -- A Matter of Time

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

```

• Prev by Date: Re: 2d fit problem
• Next by Date: Re: differential equations
• Previous by thread: Re: 2d fit problem
• Next by thread: Re: Piecewise Functions