Answered step by step
Verified Expert Solution
Link Copied!

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

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

2. How much time should be allocated to the focus group?

Answered: 1 week ago