Question: This is the data Dowload HR.txt Please help me with this problem. Biomedical Research A research institute specializing in physiology is conducting a study on



This is the data "Dowload HR.txt"



Please help me with this problem.
Biomedical Research A research institute specializing in physiology is conducting a study on the strain and effects of commuting trips done on a bicycle or walking. When the physiological strain of commuting trips has been studied, the results will be used in exercise prescriptions, which can then use commuting as part of an exercise regimen. In this program you will write a C+ program to analyze a small subset of the data that has been collected INPUT: Redirect the input from the file HRDkt The file consists of three columns, with six lines of data for each person. The first line saares each person's ID number (integer. clinically measured maximum heart rate (integer). and age integer). The following five lines contain the day's average commuting heart rate, maximum commuting heart rate, and exercise heart rate for five consecutive working days. Then, the six line sequence is repeated for the next person. At times the heart rate monitors reacted to nearby power lines or orber and gave false readings. These measurements were rejected and show up in the dara file as 1. On the days the person did not exercise, exercise heart rate value is zero. PROCESSING Use precisely six parallel amays: one for subject numbers and five for calculated the values as described below Look at data for subject 4545 as this is discussed: 114.8 130 113.1 102.6 131 0.0 117.4 129 149.1 -1 -1 114.0 114.1 123 119.5 Using this information, calculate 1. Average of the average commuting heart rates for each person Fer subject 454s this would (114,8 t 102.6 7.4 114.1)/4 slace there was a no reading 2. Number of days that the person exereised on his her own Far subject 4545 this 4 siace one of the days is 3 Estimated maximum heart rate 220 age. ulijeel 4545 this is 220 Biomedical Research A research institute specializing in physiology is conducting a study on the strain and effects of commuting trips done on a bicycle or walking. When the physiological strain of commuting trips has been studied, the results will be used in exercise prescriptions, which can then use commuting as part of an exercise regimen. In this program you will write a C+ program to analyze a small subset of the data that has been collected INPUT: Redirect the input from the file HRDkt The file consists of three columns, with six lines of data for each person. The first line saares each person's ID number (integer. clinically measured maximum heart rate (integer). and age integer). The following five lines contain the day's average commuting heart rate, maximum commuting heart rate, and exercise heart rate for five consecutive working days. Then, the six line sequence is repeated for the next person. At times the heart rate monitors reacted to nearby power lines or orber and gave false readings. These measurements were rejected and show up in the dara file as 1. On the days the person did not exercise, exercise heart rate value is zero. PROCESSING Use precisely six parallel amays: one for subject numbers and five for calculated the values as described below Look at data for subject 4545 as this is discussed: 114.8 130 113.1 102.6 131 0.0 117.4 129 149.1 -1 -1 114.0 114.1 123 119.5 Using this information, calculate 1. Average of the average commuting heart rates for each person Fer subject 454s this would (114,8 t 102.6 7.4 114.1)/4 slace there was a no reading 2. Number of days that the person exereised on his her own Far subject 4545 this 4 siace one of the days is 3 Estimated maximum heart rate 220 age. ulijeel 4545 this is 220
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
