Finite element approximation of a free boundary problem arising in the theory of liquid drops ans plasma physics