Boyd Chebyshev And Fourier Spectral Methods