@Alfred_F Thank you for advice, The solution obtained in equation 8 is using Spectral method, which as you mentioned falls under Galerkin method. I am thinking of first replicating the solution using Maple to better understand it. Does Maple know about spectral method, i searched in Maple Help, but couldn't find it. Is there a special package. I wonder does the solution exist if i use other basis function? Instead of Legendre polynomials as the basis functions.