Weigth function determination via simple Finite Element analyses