**7. Conclusions**

The numerical solutions for the two-dimensional boundary layer flow of a viscoelastic fluid and heat transfer past a nonlinear stretching sheet in the presence of magnetic field *M* and viscous dissipation *Ec* for prescribed surface temperature (PST) and prescribed heat flux (PHF) were studied in this paper. The dimensional equations that govern the flow problem were reduced into nonlinear ordinary differential equations with the aid of an appropriate similarity transformation for nonlinear stretching sheet. The reduced equations were then solved numerically by the Keller box method. The effects of nonlinear stretching parameter *n*, viscoelastic parameter *K*, magnetic parameter *M*, Eckert number *Ec*, and Prandtl number *Pr* on the viscoelastic fluid and the characteristics of heat transfer were examined. The results for different values of *n*, *K*, and *Pr* were compared with the earlier results reported by Vajravelu [7] and Arnold et al. [43] for skin friction coefficient *f* --(0), heat transfer rate θ- (0), and surface temperature *g*(0) in the case of PST and PHF, respectively. The summary of the present results is shown below


**Author Contributions:** A.B.J. modeled the problem and solve it; S.S. and I.U contributed to the discussion of the problem and writing the manuscript. All the authors read and approved the final version of the manuscript.

**Funding:** This work was funded by the Ministry of Education (MOE) and Research Management Centre-UTM, Universiti Teknologi Malaysia (UTM) for the financial support through vote numbers 5F004, 07G70, 07G72, 07G76 and 07G77.

**Acknowledgments:** The authors would like to thank the Ministry of Education (MOE) and Research Management Centre-UTM, Universiti Teknologi Malaysia (UTM) for this research, the anonymous reviewers and the Editor-in-Chief for the constructive comments that led to the fruitful improvement in the manuscript.

**Conflicts of Interest:** The authors declare no conflict of interest.
