Răspuns :
1) a+b+c=1116
a = b * 5
c = b * 4 +16
5b + b + 4b +16 = 1116
10b = 1116-16
10b = 1100
b=110 a = 5b = 5*110=550
c = 4b + 16 = 4*110+16=456
proba : 550+110+456=1116
2) notam ciocolata = a
prajituri = b
5a + 8b = 2225 /*3 15a + 24b = 6675
7a + 12b = 3275 /*2 14a + 24b = 6550 se scad ecuatiile
a = 125 , deci 1 ciocolata cantareste 125 g
5a + 8b=2225
5*125 +8b=2225
625 + 8b=2225
8b=2225-625
8b=1600
b=200 , deci 1 prajitura cantareste 200g
atunci 4ciocolate + 4prajituri = 4*125 + 4*200 = 500 + 800 = 1300g in total
a = b * 5
c = b * 4 +16
5b + b + 4b +16 = 1116
10b = 1116-16
10b = 1100
b=110 a = 5b = 5*110=550
c = 4b + 16 = 4*110+16=456
proba : 550+110+456=1116
2) notam ciocolata = a
prajituri = b
5a + 8b = 2225 /*3 15a + 24b = 6675
7a + 12b = 3275 /*2 14a + 24b = 6550 se scad ecuatiile
a = 125 , deci 1 ciocolata cantareste 125 g
5a + 8b=2225
5*125 +8b=2225
625 + 8b=2225
8b=2225-625
8b=1600
b=200 , deci 1 prajitura cantareste 200g
atunci 4ciocolate + 4prajituri = 4*125 + 4*200 = 500 + 800 = 1300g in total