-----Philipp Roessler wrote: -----
> I'm trying to display the definitions of
> functions/macros I've implemented earlier. How can I do that?
Use the function 'dispfun':
(%i1) rect ( x ) ::= if ( abs ( x ) < 1/2 ) then 1 else 0 $
(%i2) dispfun(rect);
(%t2) rect(x)::=if abs(x)<1/2 then 1 else 0
>What I wanted to do in the first place was
>
>(%i3) integrate ( rect ( x ) * %e ^ ( -%i * w * x) / sqrt ( 2 * %pi ) );
To do this, you'll have to give Maxima some help:
(%i16) integrate (%e^(-%i*w*x) / sqrt (2 * %pi),x,-1/2,1/2);
(%o16) (2*sin(w/2))/(sqrt(2)*sqrt(%pi)*w)
Barton