The determination of the extremes of the function with more real variables often implies difficulties because of the relatively complicated calculations that may appear if we try to solve these problems by using the classical methods of the mathematic analyses. These very aspects and the fact that many processes from the agro-alimentary economics have as mathematic model the functions with more variables ask for and prove the utility of some studies regarding the creation of algorithms for solving the above mentioned problems Therefore proposes this work to adopt a known method in the speciality literature, that is the gradient method, in order to shape a new calculation method in the ago-alimentary economy.