A young athlete undergoes a stress test on a treadmill.It measures the activity of the heart with an electrocardiogram.