EDM is a non-conventional machining process. Principle : Electrical discharge…