Evaluation of fuzzy quantities by means of a weighting functions