Explicație pas cu pas:
a) numărul total de kg de bomboane:
[tex]24 + 20 + 36 = 80 \: kg[/tex]
prețul total al bomboanelor:
[tex]24 \times 8 + 20 \times 10 + 36 \times 12 = 192 + 200 + 432 = 824 \: lei[/tex]
prețul mediu al unui kg de bomboane asortate:
[tex] \frac{pret \: total \:bomboane}{numar \: total \: kg \: bomboane} = \frac{824}{80} = 10.3[/tex]
prețul mediu: 10,30 lei/kg
b)
[tex]\frac{pret \: total \:bomboane}{numar \: total \: kg \: bomboane} = 10.4[/tex]
[tex]\frac{24 \times 8 + 20 \times 10 + x \times 12}{24 + 20 + x} = 10.4 [/tex]
[tex]\frac{392 + 12x}{44 + x} = 10.4 \\ 392 + 12x = 457.6 + 10.4x \\ 12x - 10.4x = 457.6 - 392 \\ 1.6x = 65.6 = > x = 41[/tex]
41 kg de bomboane a 12 lei/kg