Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Piecewise Functions
Replies: 1   Last Post: Aug 7, 1996 3:56 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dwarf

Posts: 22
Registered: 12/7/04
Piecewise Functions
Posted: Aug 1, 1996 2:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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@wam.umd.edu | but is security, after all a cause
| timbwolf@eng.umd.edu | or symptom of happiness.
| |
+----------------------------+ Dream Theater -- A Matter of Time







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.