The boundary-layer flow and heat transfer in a viscous fluid containing metallic nanoparticles over a nonlinear stretching sheet are analyzed. The stretching velocity is assumed to vary as a power function of the distance from the origin. The governing partial differential equation and auxiliary conditions are reduced to coupled nonlinear ordinary differential equations with the appropriate corresponding auxiliary conditions. The resulting nonlinear ordinary differential equations (ODEs) are solved numerically. The effects of various relevant parameters, namely, the Eckert number Ec, the solid volume fraction of the nanoparticles φ , and the nonlinear stretching parameter n are discussed. The comparison with published results is also presented. Different types of nanoparticles are studied. It is shown that the behavior of the fluid flow changes with the change of the nanoparticles type.