subject
Engineering, 06.04.2020 22:41 mikey4416

Project 8:The Harris-Benedict equation estimates the number of calories your body needs to maintain your weight if you do no exercise. This is called your basal metabolic rate, or BMR. The calories needed for a woman to maintain her weight is:BMR = 655 + (4.3 Ã weight in pounds) + (4.7 Ã height in inches) â (4.7Ã age in years)The calories needed for a man to maintain his weight is:BMR = 66 + (6.3 Ã weight in pounds) + (12.9 Ã height in inches) â (6.8 Ã age in years)A typical chocolate bar will contain around 230 calories. Write a program that allows the user to input his or her weight in pounds, height in inches, and age in years. The program should then output the number of chocolate bars that should be consumed to maintain oneâs weight for both a woman and a man of the input weight, height, and age.

Repeat the calorie-counting program described in Programming Project 8 from Chapter 2. This time ask the user to input the string "M" if the user is a man and "W" if the user is a woman. Use only the male formula to calculate calories if "M" is entered and use only the female formula to calculate calories if "W" is entered. Output the number of chocolate bars to consume as before.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Ahot wire operates at a temperature of 200°c while the air temperature is 20°c. the hot wire element is a tungsten wire of 5 um diameter and 2 mm in length. plot using excel current, heat transfer and heat generated by the wire for air velocity varying from 1-10 m/s in steps of lm/s? matlab the sensor voltage output, resistance, or assume nu 0.989 re033pr13 take air properties at tr (200°c20°c)/2 = 110°c properties of tungsten: c 0.13 kj/kg.k 3 p 19250 kg/m k (thermal conductivity) = 174 w/m.k
Answers: 2
question
Engineering, 04.07.2019 18:20
Air flows over a heated plate àt a velocity of 50m/s. the local skin factor coefficient at a point on a plate is 0.004. estimate the local heat transfer coefficient at this point.the following property data for air are given: density = 0.88kg/m3 , viscosity 2.286 x 10 ^-5 kgm/s , k = 0.035w/mk ,cp = 1.001kj/kgk. use colburn reynolds analogy.
Answers: 1
question
Engineering, 06.07.2019 04:10
Along steel shaft of 10 cm diameter is austenised at 870°c and then quenched in a liquid at 30oc. the average surface heat transfer coefficient is 2000 w/m2. °c. the relevant thermophysical properties of the shaft are: p=7800 kg/m", k=20 w/mk, cp=0.46 kj/kg.k calculate: a)-the time required for the center temperature to drop to 200°c. b)-the temperature at half-radius at that moment. c)-the amount of heat that had been transferred to the liquid by that time per meter length of the shaft
Answers: 1
question
Engineering, 06.07.2019 04:20
Derive the 2-d finite difference equation for a uniform grid for a node: a) at a plane surface with a uniform heat flux b) at an internal corner with convection
Answers: 1
You know the right answer?
Project 8:The Harris-Benedict equation estimates the number of calories your body needs to maintain...
Questions
Questions on the website: 13722360