Question: Why does plot3d take much longer with pdsolve(..., method=Fourier) than a manually derived solution?

I'm solving the 1D heat equation using two different approaches, both involving Fourier transforms.

  1. First Attempt: Using pdsolve the Fourier method. This code either takes a very long time or doesn't produce a plot at all.
  2. Second Attempt: Manual Fourier transform. This one works fine and quickly plots the result.

Why does the first version using pdsolve(..., method = Fourier) result in slow or non-responsive behaviorplot3d, while the second version (manual transform) runs efficiently? Is the pdsolve result too symbolic or unevaluated for plotting? How can I make the first approach plot correctly?

Thanks for any insights!

ft1.mw

Please Wait...