Write an essay comparing the action potential in the heart’s pacemaker and contractile cells, then explain why the electrocardiogram has different parts (P, QRS complex, and T wave.)