101DIET MANAGEMENT final
101DIET MANAGEMENT final
101DIET MANAGEMENT final
MANAGEMENT SYSTEM
GROUP NO:10
TEAM MEMBERS
Anushka P Mishra(24BBTIT006)
Pogula parinitha(24BBTIT027)
Shivani Somashekar Ankalagi(24BBTIT035)
CONTENT
1.Introduction
2.literature survey
3.Problem statement
4.Solution
5.Result
6.Result Working
7.Future enhancement
8.Reference
9.Conclusion
INTRODUCTION
Today, in this world, a healthy lifestyle is
very important to maintain, and dieting
optimally is one of the significant parts of
that. However, it is a very complex task to
calculate daily calorie needs based on
various factors such as age, weight, height,
gender, and activity level. This is a Diet
Planner project which calculates BMR and
determines the calorie intake, based on the
activities involved. Thus, one receives the
dieting suggestion for a healthy lifestyle.
literature survey
• Harris-Benedict Equation: A formula to estimate Basal Metabolic Rate (BMR) based on
age, weight, height, and gender, commonly used in diet and fitness planning.
• Gender-Specific Formulas: Separate equations are used for males and females to
account for metabolic differences.
• BMR Calculation for Males: Formula includes coefficients for weight, height, and age
specific to men.
• BMR Calculation for Females: Similar to males but with adjusted coefficients reflecting
women's metabolism.
• Practical Applications: The Harris-Benedict equation is widely used in health, fitness,
and nutritional planning to calculate calorie requirements and support weight
management.
• Limitations: It provides estimates that may not account for individual metabolic
differences or body composition.
PROBLEM
STATEMENT
• People struggle to calculate their daily calorie requirements
accurately.
• Many individuals lack access to personalized diet
recommendations based on their unique characteristics.
• There is confusion among individuals about what diet plan
is best suited for their goals
• Individuals may not have enough time to plan healthy meals
or calculate their daily calorie intake.
• Maintaining a healthy lifestyle is challenging without the
proper guidance on balanced nutrition.
SOLUTION
1. BMR Calculation:
• What it does: The function calculateBMR estimates the Basal Metabolic Rate (BMR) based on the Harris-Benedict
equation.
• How it works: It takes in age, weight, height, and gender as inputs and returns a calculated BMR value. Different
formulas are used for males and females.
2. Adjusting for Activity Level:
• What it does: The adjustForActivity() function adjusts the calculated BMR based on the person’s activity level.
• How it works: It multiplies the BMR by an activity factor (ranging from 1.2 for sedentary to 1.9 for super active).
3. Diet Suggestion:
• What it does: The suggestDiet() function suggests a diet based on the daily calorie needs.
• How it works: It suggests either a calorie-dense diet (if the calorie needs are low), a balanced diet (for moderate
needs), or a low-calorie diet (for higher calorie needs).
4. Inputs from the User:
The program prompts the user to input their age, weight, height, gender, and activity level to perform the
calculations.
5. Final Output:
The program calculates and outputs the estimated daily calorie needs and suggests a corresponding diet.
CALCULATION
1. Harris-Benedict BMR Calculation:
• For males: BMR=88.362+(13.397×weight)+(4.799×height)−(5.677×age)
• For females: BMR=447.593+(9.247×weight)+(3.098×height)−(4.330×age)
This formula calculates the calories your body needs at rest to maintain basic functions like breathing
and digestion.
2.Adjusting BMR for Activity Level: After calculating BMR, the program multiplies it by a factor depending on
how active the person is:
• Sedentary (little or no exercise): BMR×1.2BMR \times 1.2BMR×1.2
• Lightly Active (light exercise 1-3 days/week): BMR×1.375BMR \times 1.375BMR×1.375
• Moderately Active (moderate exercise 3-5 days/week): BMR×1.55BMR \times 1.55BMR×1.55
• Very Active (hard exercise 6-7 days/week): BMR×1.725BMR \times 1.725BMR×1.725
• Super Active (very hard exercise or physical job): BMR×1.9BMR \times 1.9BMR×1.9
RESULT
Enter your age: 25
Enter your weight (in kg): 70
Enter your height (in cm): 175
Enter your gender (M/F): M
Enter your activity level (1-5):
1 - Sedentary
2 - Lightly Active
3 - Moderately Active
4 - Very Active
5 - Super Active
3
Your estimated daily calorie needs: 2672.29 calories
Diet suggestion: You may want a diet with lower calorie density, especially if you're
looking to lose weight.
RESULT WORKING
1. Calculate BMR using the Harris-Benedict equation for males: