Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Step: 3

blur-text-image

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 Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

Explain the various reasons why some people become micromanagers.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago