A computer manufacturer shipped a total of 50 machines to its two warehouses, one in west and one in east. It cost 20$ per machine to ship to west and 25$ per machine to ship to east. The manufacturer spent a total of 1090 in shipping. How many machines went where?

Respuesta :

e + w = 50.....w = 50 - e
25e + 20w = 1090

25e + 20(50 - e) = 1090
25e + 1000 - 20e = 1090
25e - 20e = 1090 - 1000
5e = 90
e = 90/5
e = 18 <=== the east got 18

w = 50 - e
w = 50 - 18
w = 32 <=== the west got 32

32 were shipped to the western warehouse and 18 shipped to the Eastern warehouse. 25x18=450 20x32=640
(400+600=1000) + (50+40=90)
1000+90=1090