MODELING OF THE PIEZOELECTRIC EFFECT USING THE FINITE-ELEMENT METHOD ( FEM )