Boundary layer flow of newtonian/non-newtonian fluids and heat transfer using spectral relaxation method