Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write in MATLAB... 25. The following are formulas for calculating the training heart rate (THR) for men and women: For men (Karvonen formula): THR [(220
Write in MATLAB...
25. The following are formulas for calculating the training heart rate (THR) for men and women: For men (Karvonen formula): THR [(220 -AGE)-RHR]x INTEN +RHR For women: THR [(206-0.88 x AGE)-RHR1x INTEN RHR where AGE is the person's age, RHR the resting heart rate, and INTEN the fit- ness level (0.55 for low, 0.65 for medium, and 0.8 for high fitness). Write a program in a script file that determines the THR. The program asks users to enter their gender (male or female), age (number), resting heart rate (number), and fitness level (low, medium, or high). The program then displays the train- ing heart rate. Use the program for determining the training heart rate for the following two individuals: (a) A 21-year-old male, resting heart rate of62, and low fitness level. (b) A 19-year-old female, resting heart rate of 67, and high fitness level
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