Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following are formulas for calculating the training heart rate ( T H R ) for men and women For men ( Karvonen formula )

The following are formulas for calculating the training heart rate (THR) for men and women
For men (Karvonen formula): THR?I=NTEN(220-AGE-RHR)+RHR
For women: THR?I=NTEN(206-0.88AGE-RHR)+RHR
where AGE is the person's age, RHR is the resting heart rate, and INTEN is the fitness
level (0.55 for low, 0.65 for medium, and 0.8 for high fitness). Write a program that
determines the training heart rate. This should be done before you start to write the script.
The program asks the users to enter their gender (male or female), age (number), resting
heart rate (number), and fitness level (low, medium, and high). The program then displays
the training heart rate rounded to the nearest integer. The display should include the inputs
as variables for the print statement. See example below. Use the program for determining
the training heart rate for the following three individuals.
(a) A 21-year-old male, resting heart rate of 62, and low fitness level
(b) A 19-year-old female, resting heart rate of 67, and high fitness level
(c) A 30-year-old male, resting heart rate of 70, and medium fitness level
Example for part (a):
This program calculates the training heart rate for men and women
using age, resting heart rate, and fitness level.
What is your gender (male or female)? male
What is your age? 21
What is your resting heart rate? 62
What is your fitness level (low, medium, or high)? low
THR =
137
Solution: Other answers: (b)165(c)148
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Science For Dummies

Authors: Lillian Pierson ,Jake Porway

2nd Edition

1119327636, 978-1119327639

More Books

Students also viewed these Databases questions

Question

Analyze the impact of labor unions on health care.

Answered: 1 week ago

Question

Assess three motivational theories as they apply to health care.

Answered: 1 week ago

Question

Discuss the history of U.S. labor unions.

Answered: 1 week ago