Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 drracketUSE DRRACKET
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started