I have the following code:
PDE := diff(u(x, t), t) = diff(u(x, t), x, x)-sin(x+t)+cos(x+t);
pds := pdsolve( PDE, [IBC], numeric, time = t, range = 0 .. 1,
spacestep = 0.1e-1, timestep = 0.1e-1,
And I want to plot the difference |pds(t,x) - cos(x+t)| in maple for x=1 and t=0..5
I thought to use the following piece of commands but I get an error:
I get an error that Q isn't a module.
I thought that unapply is used for this case, can you help me with this simple task?
Thanks in advance.