Numerical studies on the effect of electric pulses on an egg-shaped cell with a spherical nucleus