In this paper are presented the steps needed in order to determine the mathematical model of roughness as a linear or quadratic polynomial function using the Taguchi method. In order to obtain the mathematical models, a plan of fractional factorial design experiments was elaborated. The computation task required to determine the coefficients of polynomial function was carried out using dedicated software.