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, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15Β°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
You know the right answer?
2.13 LAB: Expression for calories burned during workout This section has been set as optional by yo...
Questions
Questions on the website: 13722363