Answered step by step
Verified Expert Solution
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
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 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 lossStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started