Discrete methods in the study of an inverse problem for Laplace's equation