(1)
(15*30+12*50+10*20)/(30+50+20)=12.5(元/千克)
(2)
调到每千克单价为13元需要甲种糖果X千克:
(15*X+12*50+10*20)/(X+50+20)=13
15X+800=13X+910
15X-13X=910-800
X=55(千克)
再补充甲种糖果:
X-30=55-30=25(千克)
(1)
(15*30+12*50+10*20)/(30+50+20)=12.5(元/千克)
(2)
调到每千克单价为13元需要甲种糖果X千克:
(15*X+12*50+10*20)/(X+50+20)=13
15X+800=13X+910
15X-13X=910-800
X=55(千克)
再补充甲种糖果:
X-30=55-30=25(千克)