how to fly like a bird

17
HOW TO FLY LIKE A BIRD GROUP 24 電電電 電電電 電電電 電電電

Upload: irina

Post on 05-Feb-2016

59 views

Category:

Documents


0 download

DESCRIPTION

How to fly like a bird. GROUP 24 電機 四 蘇培豪 電機 四 王律文. like a bird. Keep a light weight, you can fly like a bird!. Interesting problem. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: How to fly like a bird

HOW TO FLY LIKE A BIRD

GROUP 24 電機四 蘇培豪電機四 王律文

Page 2: How to fly like a bird

like a bird

Keep a light weight, you can fly like a bird!

Page 3: How to fly like a bird

Interesting problem

Nowadays we live in busy days. We are filled with overloading works, home works, etc. Therefore obese often comes to us. What we want to solve is the problem of fatness and diet.

Page 4: How to fly like a bird

Theme

We call it “ Think Food. ” It’s a program that can help you choose what to

eat for breakfast, lunch, dinner or snack in consideration of your own health.

Page 5: How to fly like a bird

idea

Calorie counter in the Internet

Page 6: How to fly like a bird

idea

CALORIE!!!

Page 7: How to fly like a bird

idea

CHOOSE WHAT TO EAT!!!

Page 8: How to fly like a bird

Design

As a great proverb goes, ”eat good in breakfast, eat full in lunch, and eat little in dinner.”

Calorie sort: lunch > breakfast > dinner > snack (we wish) snack > dinner > lunch > (breakfast) (IN FACT)

That’s our basic concept

Page 9: How to fly like a bird

Design

Database: food, ingredient, calorie. User: 1. Decide how many calories a day to take in. 2. Choose which kind of food you like. Program: 1. food credit limit 2. Randomly come up with proper food.

Page 10: How to fly like a bird

Tool

C Plus Plus

Page 11: How to fly like a bird

Design

Example: (unit: kcal/g) calorie credit =2500/per day <Breakfast> (We choose “western”) Breakfast database:

credit = 2500 -300 =2200

300 400

Page 12: How to fly like a bird

Design

<Lunch> (We first choose the type of food) (choose “noodle”) Lunch Database:

credit = 2200 -1100 =1100

600 1100 700

Credit remain = 2200

Page 13: How to fly like a bird

Design

<Dinner> (choose “fast food”) Dinner Database:

credit = 1100 -1200 < 0credit = 1100 -1300 < 0credit = 1100 -1400 < 0

No more credit for fast food

1200 1300 1400

Credit remain = 1100

Page 14: How to fly like a bird

12001200

Design

<Dinner> (choose “rice”) Dinner Database:

700 500 200

credit = 1100 -500 --> you save 600 calories

Credit remain = 1100

Page 15: How to fly like a bird

Furthermore

Not only for those who want to go on a diet.

But also can implement to many applications…

Page 16: How to fly like a bird

Trade-off of happiness and healthiness

Page 17: How to fly like a bird

Thank You!