Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The Karvonen formula is one method for calculating the training heart rate (THR). THR=[(220-AGE)-RHR]xIN TERN+RHR where AGE is the age (years), RHR the rest heart
The Karvonen formula is one method for calculating the training heart rate (THR). THR=[(220-AGE)-RHR]xIN TERN+RHR
where AGE is the age (years), RHR the rest heart rate, and INTERN is the fitness level (0.55 for low, 0.65 for medium, and 0.8 for high fitness level).
Write a script file that determines the THR. The program asks the user to input his/her age (number), rest heart rate (number), and fitness level (0.55 for low, 0.65 for medium, or 0.8 for high). The program then displays the training heart rate using an fprintf command (The training heart rate for a XXX old individual with a rest heart rate of XXX is XXX.). Please note that the resting heart rate range anywhere from 40 to 100 beats per minute.
Execute your program for a 25 years old male, with RHR=80 beats per minute, and a fitness level of 0.65.
(Using Matlab)
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