From page 30, David J Logan textbook, applied PDE textbook.
Schrodinger PDE with zero potential (Logan p. 30)
Solve
Mathematica ✓
ClearAll["Global`*"]; pde = I*h*D[f[x, t], t] == -((h^2*D[f[x, t], {x, 2}])/(2*m)); bc = {f[0, t] == 0, f[L, t] == 0}; sol = AbsoluteTiming[TimeConstrained[DSolve[{pde, bc}, f[x, t], {x, t}, Assumptions -> L > 0], 60*10]]; sol = sol /. K[1] -> n;
Maple ✓
restart; interface(showassumed=0); pde :=I*h*diff(f(x,t),t)=-h^2/(2*m)*diff(f(x,t),x$2); bc:=f(0,t)=0,f(L,t)=0; cpu_time := timelimit(60*10,CodeTools[Usage](assign('sol',pdsolve([pde,bc],f(x,t)) assuming L>0),output='realtime'));
____________________________________________________________________________________