Home / Expert Answers / Computer Science / nbsp-this-is-using-python-program-nbsp-the-following-equation-estimates-the-average-calories-pa470

(Solved):   This is using Python program  The following equation estimates the average calories ...



The following equation estimates the average calories burned for a person when exercising, which is based on a scientific jou

 

This is using Python program 

The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article (source): Calories \( =(( \) Age \( \times 0.2757)+( \) Weight \( \times 0.03295)+( \) Heart Rate \( \times 1.0781)-75.4991) \times \) Time \( / 8.368 \) Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output the average calories burned for a person. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('Calories: \( \{: .2 f\} \) calories' .format(calories)) Ex: If the input is: then the output is: Calories: \( 736.21 \) calories \( 456476.3053726 . q \times 3 z \) zqy 7 \( 0 / 10 \) Load default template... Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box.


We have an Answer from Expert

View Expert Answer

Expert Answer


Here is a program that takes age, weight, heart rate, and time as input and prints the
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe