Question: For example, based on the table above, for a 5 0 - year - old person ( i . e . , age = 5
For example, based on the table above, for a yearold person ie age doing moderateintensity physical activities, the estimated heart
rate in beats per minute bpm should be between and where these two rounded integers can be obtained as follows:
where should be rounded to using the builtin function round.
As another example, for a yearold person ie age doing vigorousintensity physical activities, the estimated heart rate in bpm should be
between and where these two rounded integers can be obtained as follows:
Write a function hrate that consumes two parameters age and intensity where age is an integer and intensity is each one of 'moderate,
vigo rous, representing the physical activity intensity. The function produces the following string:
"Target heart rate range: A B bpm
where A and are the estimated minimum and maximum agerelated heart rates, respectively. use drracket
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
