Never mind, sorry
The answer would have to be in this case:
if x<0 then 0 elseif equal(z,0) then und else 0
or
if x<0 then 0 elseif equal(z,0) then errmsg1 else 0
Otherwise integrating the answer would not necessarily give you back the right function f. It could have been
f(x):= if x > 0 then 2 else 0;
which has the same derivitive unless you want headaches like 2*inf or DiracDelta function solutions which I don't think is really that well understood.
------------Original Message------------
From: "Richard Hennessy"<rvh2007 at comcast.net>
To: "Stavros Macrakis" <macrakis at alum.mit.edu>
Cc: "Maxima List" <maxima at math.utexas.edu>
Date: Sun, May-11-2008 6:26 PM
Subject: Re: [Maxima] Fourier Series for unit step
Couldn't we have asksign1 in the noninteractive package work in our favor in this case. This doesn't work but it would be great if it did.
load(noninteractive);
f(x):= if x > 0 then 1 else 0$
diff(f(x),x);
--> diff((if x>0 then 1 else 0),x,1)
It would be pretty cool if you could get.
-- > if x<0 then 0 elseif equal(z,0) then inf else 0
Rich
------------Original Message------------
From: "Stavros Macrakis" <macrakis at alum.mit.edu>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Ismael Garrido" <ismaelgf at adinet.com.uy>, "Maxima List" <maxima at math.utexas.edu>
Date: Sun, May-11-2008 6:08 PM
Subject: Re: [Maxima] Fourier Series for unit step
On Sun, May 11, 2008 at 6:05 PM, Richard Hennessy <rvh2007 at comcast.net> wrote:
> "(if/then/else acts like a programming construct, not a mathematical expression)"
>
> I don't think there is a difference, we are just not there yet.
That's exactly what I said.
-s
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima