To calculate a safe, maximally effective target heart rate for the patient's exercise prescription, subtract the resting heart rate from the maximum heart rate on the test, multiply by 0.6 to 0.8, and add back the resting pulse (21).