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

Answers

Answer 1

Answer:

ee

Explanation:

This is an over the top question

Answer 2

The program requires a sequence control structure; First, we get input for the variables, and then use the formula to calculate the amount of calories burnt.

The program in python is as follows, where comments (in italics) are used to explain each line.

#This gets input for age, in years

age = int(input("Age (years): "))

#This gets input for weight, in pounds

weight = int(input("Weight (pounds): "))

#This gets input for heart rate, in beats per minutes

heart_rate = int(input("Heart Rate (beats per minutes): "))

#This gets input for time, in minutes

time = int(input("Time (Minutes) : "))

#This calculates the calories burnt for men

calories_man = ((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * time / 4.184

#This calculates the calories burnt for women

calories_woman = ((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022 ) * time / 4.184

#This prints the calories burnt for men

print('Men: %0.2f calories' % calories_man)

#This prints the calories burnt for women

print('Women: %0.2f calories' % calories_woman)

Please note that the program does not check for valid inputs

See attachment for program output

Read more about Python programs at:

https://brainly.com/question/22841107

2.13 LAB: Expression For Calories Burned During WorkoutThis Section Has Been Set As Optional By Your

Related Questions

A sample of soil has a volume of 0.45 ft^3 and a weight of 53.3 lb. After being dried inan oven, it has a weight of 45.1 lb. It has a specific gravity of solids of 2.70. Compute its moisture content and degree of saturation before it was placed in the oven.

Answers

Answer:

a) the moisture content before it was placed in the oven is 18.18%

b) degree of saturation for soil is 72.19%

Explanation:

Given the data in the question;

Moisture Content = [(Weight of soil before dry - dry weight) / dry weight] × 100

so we substitute

Moisture content = [(53.3 - 45.1) / 45.1 ] × 100

= (8.2/45.1) × 100

= 18.18%

Therefore the moisture content before it was placed in the oven is 18.18%

Dry Unit Weight = dry weight / volume

Dry Unit Weight = 45.1 lb / 0.45 ft³

Dry Unit Weight = 100.22 lb/ft³

we know that;

dry unit weight = (Specific gravity × unit weight of water) / (1 + e)

we also know that; unit weight of water is 62.43 lbf/ft³

so we substitute

e = (2.70×62.43 / 100.22) - 1

e = 1.68 - 1

e = 0.68

so void ratio e = 0.68

Now we determine the degree of saturation using the equation;

degree of saturation = (Moisture content × specific gravity) / void ratio

we substitute

degree of saturation = ( 18.18% × 2.7) / 0.68

= 0.49086 / 0.68

= 0.7219 ≈ 72.19%

Therefore degree of saturation for soil is 72.19%

Which option identifies the type of engineer described in the following scenario?

Sean is an engineer whose current project is a skyscraper in Richmond, VA. He relies heavily on geometry in his research of building design.

Material

Civil

Mechanical

Chemical​

Answers

Answer:

civil

Explanation:

mark be branilist

Answer:

Civil

Explanation:

civil engineering – the application of planning, designing, constructing, maintaining, and operating infrastructure while protecting the public and environmental health, as well as improving existing infrastructure that may

Other Questions
Summarize the civil rights and the different people who helped create changeand equality in the United States. Your summary should include what civil rights are, identify andexplain who Marcus Garvey, Desmond Tutu, and Medgar Evers are and their accomplishments, youmust also include a description of the organizations that were established for racial equality Write the correct answer. Euros are currency used in several European countries. On one day in October 2005, you could exchange $3 for about 2.5 euros. How many dollars would you have needed to get 6 Euros? Shani borrowed $5000 at an annual interest rate of 4% compounded yearly. William borrowed the same amount of money at an annual interest rate of 6% compounded yearly. How much more interest will William pay than Shani at the end of 3 years? Question OneThere are three forward players, two defensemen, and one goalie on a hockey team. What is the ratio, in simplest form, ofdefensemen to the total number on a team?A1:6B1:32:1D3:1 What is a bacteria that is beneficial to humans and what does it do? 8cm20cmWhat is the volume of this cylinder? Glycogen synthetase kinase 3 beta is a protein kinase that has been implicated in many types of cancer. Depending on the cell type, the gene for glycogen synthetase kinase 3 beta (GSK38) can act ether as an oncogene or as a tumor suppressor. Which of the following best predicts how GSK 98 mutations can lead to the development of cancer? A Cells with inactive GSK 38 fail to trigger apoptosis. B Cells with inactive GSK 38 fail to proceed past the G2/M checkpoint. Cells with overactive GSK 98 are more likely to repair DNA damage. Cells with overactive GSK 38 have longer cell cycles. The best reason to choose a .gov source is thatthe government is the most reliable source.a government website features personal blogs.a government website will be written by experts.the government allows anyone to modify its websites. May someone please help me fill this out.I will mark brainlist.-unnecessary spam comments will be reported. And no there is no apps that wont help me. PLEASE IT DUE IN 1 HR :(((((( During the month of February, Fabulous Feet Shoe Mart sold 30 pairs of red loafers. After an ad campaign to boost sales, they sold 39 pairs in March. Find the percent of increase in sales. Which is the least likely information to be included in a PIM system for an individual patient? name and address insurance information allergies and medical conditions annual income what does Gertie give to E.T? Alvin is 15 younger than elga the sum of their age is 27 what is elga age Find the slope of the line through each pair of points (-20,-4), (-12,-10) Nancy is a writer for a well-known city newspaper. She is writing an article about one of the Congressional candidates. Having a strong personal dislike for the candidate and wanting to sensationalize her article, Nancy decides to make up a story about the candidate having an extramarital affair, which would cast him in a bad light with voters. What right is being violated? To rent a certain meeting room, a college charges a reservation fee of $36 and an additional fee of $8.80 per hour. The history club wants to spend less than$106.40 on renting the meeting roomWhat are the possible amounts of time for which they could rent the meeting room?Use t for the number of hours the meeting room is rented, and solve your inequality for t. What would you do if you had an opportunity to volunteer in your community? List an activity and describe why you feel the activity is important. You must write 10 complete sentences Bear in mind the biological definition of a species and also the appearance and distribution of the named populations of Ensatina. Which populations could be considered a species separate from E. e. eschscholtzii? how do you improve your mental health On my way to work I was issued a citation by the Fort Worth Police Department. This is an example of which branch of government? a. Congressional Branch b. Legislative Branch c. Judicial Branch d. Executive Branch