Text this: EDM process through mathematical model