cosmicstring

213 Reputation

12 Badges

19 years, 157 days

MaplePrimes Activity


These are questions asked by cosmicstring

I'd like to eliminate all terms multiplied with u*Dirac(u) in a rather long function. For example, if

den:=a*u*Dirac(u)+b*u*u*Dirac(u)+c*u^(3/2)*Dirac(u)+v*Dirac(v);

is my function. Then the result I desire is,

v*Dirac(v)

I tried

subs(u*Dirac(u)=0,den);

but it did not work.

As my original function is rather cumbersome, I do not want to integrate it for this result.

 

Any suggestions are welcome.

I have a Maple code which I wrote on a Windows machine. Now I need to run it on a Linux machine. I set the directory by the command

currentdir("C:/example"):

How should I change this if I want it to be /home/user/example ?

and I use

fopen("C:/mydir/examp/example.dat", WRITE):

How should I change this line in Linux if I want it to be in /usr/local/mydir/examp/example.dat?

1 2 3 4 Page 4 of 4