Computer simulation of the interferences produced by ESD via a differential and an integral method