Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The programs have to be done with Python with NumPy, Pandas and Matplotlith Exercise #7 In this exercise you develop a program to calculate the

image text in transcribedThe programs have to be done with Python with NumPy, Pandas and Matplotlith

Exercise #7 In this exercise you develop a program to calculate the calories burned and weight loss for a combination of exercises a person does for a day. The exercises include the following popular types: Bicycling (12-14 mph) MET 8.0 Jumping rope MET 12.3 Running at 6 mph MET 9.8 Playing tennis MET 8.0 Playing basketball MET 6.5 Walking for exercises MET 4.3 Swimming MET 5.8 Hiking MET 7.3 Prompt the user to enter: Weight in kg Bicycling: yeso, how many minutes Jumping rope: yeso, how many minutes Running at 6 mph: yeso, how many minutes Playing tennis: yeso, how many minutes Playing basketball: yeso, how many minutes Walking for exercises: yeso, how many minutes Swimming: yeso, how many minutes Hiking: yeso, how many minutes Given parameter values: MET value of the physical activity Duration of the activity (minutes or hours) Info about the person (weight in kg) Calories/min burned = METS * 3.5 * W / 200 Calories/hr burned = METS * 3.5 * 60 * W / 200 Calculate weight loss: Divide the burned calories by 7700 to obtain the weight loss (in kg). Calculate the total calories burned and weight loss

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions