Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

1-2) Below are the graphs with their equations and regression:

Graph showing Fat vs calorie:

calorie
600

500 f(x) = 18.429377485894 x + 41.506798631024


R² = 0.934412960680354

400

300

200

100

0
5 10 15 20 25 30

Graph showing serving size vs calorie:

Chart Title
600

500
f(x) = 2.33588840857436 x + 69.3789830206337
R² = 0.764161108473526
400

300

200

100

0
60 80 100 120 140 160 180 200

Fat vs serving size:


Chart Title
200
180
f(x) = 6.07941971969511 x + 19.5844602901401
160 R² = 0.744307542767609
140
120
100
80
60
40
20
0
5 10 15 20 25 30

3) the equation for fat (x) vs calorie (y) : y = 18.429x + 41.507 equation 1
The equation for serving size (x) vs calorie (y): y= 2.3359x + 69.379 equation 2
Fat (x) vs serving size (y) : y = 6.0794x + 19.584 equation 3

a) suppose the calories in a medium French fries at Chic-fil-A is 420 calories,


since it should be between the small size (320 calories) and the large size (520
calories).
To determine the fat, use equation 1:
Y= 420
y = 18.429x + 41.507
18.429 x= 378.493
X=20.537 g fat

To determine the serving size, use equation 2:


Y=420
y= 2.3359x + 69.379
2.3359x=350.621
X=150.101 g fat
b) small:
y = 6.0794x + 19.584
x= 15
y = 6.0794 (15) + 19.584
y=110.775 g
medium:
x= 20
y= 6.0794 (20) + 19.584
y=141.172 g

large:
x= 25
y = 6.0794 (25)+ 19.584
y=171.569 g

c) serving size= 907 g


 to know the calories, use equation 2 :
for x= 907g,
y= 2.3359 (907) + 69.379
y= 2188.0403 calories
 to know the fat, use equation 3:
for x= 907g,
y = 6.0794 (907) + 19.584
y=5533.599g fat

Thus for a 907 g serving size, there are 2188.0403 calories and 5533.599 grams of
fat.

d)
 Machdonalds:
Serving size= 71/2= 35.5 g
Use equation 2:
y= 2.3359x + 69.379
replace x by 35.5:
y= 2.3359 (35.5)+ 69.379
y= 152.303 calories

 Burger King:
Serving size= 116/2= 58g
y= 2.3359 (58)+ 69.379
y=204. 8612 calories

 Wendy’s
Serving size= 110.775/2 = 55.38 g
y= 2.3359 (55.38)+ 69.379
y= 198.741 calories
 Sonic
Serving size= 71/2= 35.5 g
y= 2.3359 (35.5)+ 69.379
y= 152.303 calories

 DQ
Serving size= 71/2= 35.5g
y= 2.3359 (35.5)+ 69.379
y=152.303 calories

 Chick -Fil- A
Serving size= 14/2= 7g
y= 2.3359 (7)+ 69.379
y=85.7303 calories

 Hardees
Serving size= 14/2= 7g
y= 2.3359 (7)+ 69.379
y= 85.7303 calories
e) Dairy Queen (DQ) offers the most healthy French fries because in all its sizes,
it offers the least calories, serving size, and fats. Having the least grams of fats in
its French fries sizes compared to others makes it the heathiest.

You might also like