An electrocardiogram (additionally called an ECG or EKG) is a test that records the circumstance and strength of the electrical…