where For the given boundary condition where f (x) = sin (Ï€x), bn = 1 for n=1 but bn = 0 for integer n>1 as then bn is the integral of orthogonal functions. Hence, here the exact solution is u (x,t) = ...