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
Which statement is false? Classes are reusable software components. A class is to an object as a blueprint is to a house. Perfor
Korolek [52]

Answer:

The last option i.e "A class is an instance of its object" is the correct answer of this question.

Explanation:

A class is a collection of variable and method . The class is the blueprint of the object that means class is physical space entity and object is a runtime space entity.It is the the reusability feature of the programming component.

Following are the  syntax to declare any class.

                     Class classname

<u>For Example</u>: class test1

With the help of class we can achieve the inheritance, encapsulation and abstraction etc.

All the other options except the last one are correct option. Because option(1), option(2) and option(3) follow the property of class and object .  that's why last option is False.

4 0
3 years ago
You are given a graph G = (V, E) with positive edge weights, and a minimum spanning tree T = (V, E’) with respect to these weigh
matrenka [14]
C vraiment très facile
Si tu a besoin d’aide recontacter moi
7 0
3 years ago
Your worksheet has the value 27 in cell B3. What value is<br>returned by the function =MOD(B3,6)?​
Digiron [165]

Answer:

3

Explanation:

MOD means the remainder after a division calculation.

\frac{27}{6}= 4r3

The remainder is 3

5 0
3 years ago
In addition to the cost of legal services and the cost of treatment, which of the following are considered direct costs for work
Mrrafil [7]

Answer:

what are the options for the question

3 0
2 years ago
Your personality is that of everyone else
lubasha [3.4K]

hmmmmm but is it really

5 0
4 years ago
Read 2 more answers
Other questions:
  • What is the term for the process of gathering information through images taken at a distance?
    13·1 answer
  • Letm1, m2,···mnbe distinct numbers on the number line, in the increasing order. Your goalis to color all of them blue. You have
    9·1 answer
  • What does zooming do? A. Changes your view of the Frame Editor to be closer or farther away B. Changes your view of the Event Ed
    12·1 answer
  • ‘Bottom of the pyramid’ innovation refers to ancient Egyptian approaches to new product development – true or false?
    8·1 answer
  • Computers store temporary Internet files in the Recycle Bin. These files take up space and slow down a computer. Which tool can
    10·1 answer
  • What happens when a computer gets a virus?
    6·2 answers
  • Help me pls, thank you
    12·2 answers
  • what social media application that affect our day to day activities, and how did it improve our skill
    9·1 answer
  • Why does every image on brainly look like this too me?? it started today
    15·2 answers
  • Can Someone help plz?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!