3a. Why is it correct to write this as: d^2/dx^2 + B^2 = 0 (an ordinary differential equation)? (for 3b thru 3e The following are steps you should likely do in checking a differential equation and a particular solution.
3b. Given D has units of length [L], show that the above diffusion equation is dimensionally correct. Having done 3b, you should have confidence/be willing to invest the time to do the following.
3c. Demonstrate that the above solution is correct. Substitute into the diffusion equation, and show that you get an identity (e.g., 0 = 0); and verify that it satisfies the boundary conditions.
For a parallelepiped (-Lx/2 < x < Lx/2, -Ly/2 < y < Ly/2, and -Lz/2 < z < Lz/2), the solution is the product of three 1-D solutions: ψ = ψ(x)ψ(y)ψ(z), where ψ(x) = cos(x/Lx), ψ(y) = cos(y/Ly), and ψ(z) = cos(z/Lz), and
B^2 = (ψ/Lx)^2 + (ψ/Ly)^2 + (ψ/Lz)^2.
3e. Derive an expression for the peak-to-average flux assuming (for convenience, less work!) a cube (L = Lx = Ly = Lz). The result is true if it is not a cube, and from the product solution (of the three 1-D solutions) (x, y, z) = ψ(x)ψ(y)ψ(z), one can immediately write: