pdf determination of electro discharge machining