Scope: The primary reason for earthing in an electrical network is for safety. When all metallic portions of electrical equipment…