1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Trava [24]
4 years ago
11

g using pythonThe 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.

Computers and Technology
2 answers:
Arisa [49]4 years ago
6 0

Answer: age_years = int(input())

weight_pounds = int(input())

heart_bpm = int(input())

time_seconds = int(input())

calories_woman = ((age_years * 0.074) - (weight_pounds * 0.05741) + (heart_bpm * 0.4472) - 20.4022 ) * time_seconds / 4.184

calories_man = ((age_years * 0.2017) + (weight_pounds * 0.09036) + (heart_bpm * 0.6309) - 55.0969 ) * time_seconds / 4.184

print('Women: {:.2f} calories'.format(calories_woman))

print('Men: {:.2f} calories'.format(calories_man))

It's a simple concept and people keep replying with unneccesarily complex answers, this should 100% work

Klio2033 [76]4 years ago
5 0

Answer:

The code in python is attached.

Explanation:

  1. A function called CaloriesBurned is defined
  2. The function accepts 4 inputs: age,weight,heart_rate,time
  3. Two variables are assigned for the calories burned by men and women
  4. finally, the function returns the varaibles caloriesburned_men and caloriesburned_women

You might be interested in
Earning wise scope of web and mobile app development
lubasha [3.4K]

Answer:

Mobile are build in a specific platform such as Android, iOS ect and they use application such as apple store and have access to the system such as GPS and the camera. Mobile apps live and run on mobiles as on they are their own thing controlled by a developer on the other end

Explanation:

3 0
4 years ago
Horizontal scaling of a client/server architecture means _____.
Irina-Kira [14]

Answer:

D. I think

Explanation:

7 0
3 years ago
Cho một File Input.TXT chứa dãy nhị phân liên tiếp của một văn bản đã mã
Verizon [17]

Answer:

hyfchoofdcgvjoo

Jajosoxjkq

4 0
3 years ago
Read 2 more answers
Describe the two best practices for making html code more readable.
Strike441 [17]

Answer:

1 - Commenting and Documentation.

2 - Consistent Indentation.

3 - Avoid Obvious Comments.

4 - Code Grouping.

5 - Consistent Naming Scheme.

6 - DRY Principle.

7 - Avoid Deep Nesting.

8 - Limit Line Length.

Explanation:

Hope this helped

6 0
3 years ago
Pls help! 7th grade pythin fyi
larisa [96]

Answer:

There should be a colon at the end of the if statement, ie:

<h2>if x > 100:</h2><h2>  print("...")</h2>

8 0
3 years ago
Other questions:
  • Randy is concerned about his company’s data security on the Internet. Because cellular signals are not encrypted, he is concerne
    6·1 answer
  • SP 800-14, Generally Accepted Principles and Practices for Securing Information Technology Systems, provides best practices and
    12·1 answer
  • For the MIPS assembly instructions below, what is the corresponding C statement? Assume that the variables f, g, h, i, and j are
    15·2 answers
  • ________ means that IT capacity can be easily scaled up or down as needed,which essentially requires cloud computing. A) agility
    15·1 answer
  • What do you think is the most fascinating aspect of the internet?
    14·1 answer
  • What is some advice you would give someone who is just starting online learning 2 sentences
    8·1 answer
  • Which tasks can be completed using the Chart Tools Design tab? Check all that apply.
    9·1 answer
  • Evaluate the advantages and disadvantages of cloud computing.
    12·1 answer
  • Which cpu type would most likely be found in a smartphone?.
    10·1 answer
  • What is it called when a programmer includes a step in an algorithm that lets
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!