subject
Engineering, 15.01.2021 07:40 cocobelle

2.13 LAB: Expression for calories burned during workout This section has been set as optional by your instructor.
The following equations estimate the calories burned when exercising (source):

Men: Calories = ( (Age x 0.2017) — (Weight x 0.09036) + (Heart Rate x 0.6309) — 55.0969 ) x Time / 4.184

Women: Calories = ( (Age x 0.074) — (Weight x 0.05741) + (Heart Rate x 0.4472) — 20.4022 ) x Time / 4.184

Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output calories burned for men and women.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('Men: %0.2f calories' % calories_man)

Ex: If the input is:

49
155
148
60
Then the output is:

Men: 489.78 calories
Women: 580.94 calories
299420.1660094

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
Answers: 2
question
Engineering, 06.07.2019 03:20
Asimply supported beam abc of length l has ab of length hl and second moment of area / and bc of length hl and second moment of area i2. determine the strain energy stored in the beam when it is subject to a vertical load f at its midpoint and the consequential central deflection.
Answers: 2
question
Engineering, 06.07.2019 03:20
Not a characteristic property of ceramic material (a) high temperature stability (b) high mechanical strength (c) low elongation (d) low hardness
Answers: 2
You know the right answer?
2.13 LAB: Expression for calories burned during workout This section has been set as optional by yo...
Questions
question
Mathematics, 25.09.2019 23:30
question
Mathematics, 25.09.2019 23:30
Questions on the website: 13722361