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

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