weight if you do not exercise? Which is called a basal metabolic rate, or BMR. The calories needed for a woman to maintain her weight are:
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
I need help to develop a Python program for the following problem. How can I use the Harris-Benedict equation that estimates the number of calories your body needs to maintain your weight if you do not exercise? Which is called a basal metabolic rate, or BMR.
The calories needed for a woman to maintain her weight are: WBMR = 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 are: MBMR = 66 + (6.3 × weight in pounds) + (12.9 × height in inches) − (6.8 × age in years).
Write a program that allows the user to input his or her gender, weight in pounds, height in inches (or feet and inches), and age in years.
The program should then display on its output the number of chocolate bars that should be consumed by the individual to maintain one’s weight. Also output the individual's weight, height, age, gender, and BMR.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images