My math book gives me the following table:
Edit: Ooh, no, it doesn't look like the html is working. Let me just type this out then:
140, -56, -42, -28
-14, 70, 56, 28
42, 14, 0, 84
98, 112, 126, -70
It says, "switch two numbers to produce an additive magic square." Before moving anything around, I added up all the rows and columns and diagonals, finding that 140 was the most prevalent answer, and thus, probably the one I was trying to get. All but 5 of them equaled 140: The other answers were 266, 146, 14, 266, and 14. However, I'm not sure where to go from here. Just from playing around with the numbers I found that -56 + 70 + 84 + 42 = 140, for example, but that would require moving two numbers, which would effectively switch four numbers, and besides, it messes up the ones that already equal 140. Is there anyway to go about this other than what seems like a very frustrating, tedious process of guess and check?
The other problem I have is, "Two towns A and B are 3 miles apart. It is proposed to build a new school to serve 200 students in town A and 100 students in town B. How far from town A should the school be built if the total distance traveled by all 300 students is to be as small as possible?" I don't even know where to start with that one, especially because the way I'm interpreting it, the distance for all the students would be as small as possible if it were 1.5 miles away from both towns, but I know that's too easy. The only thing I can think of is that since there are 100 students in town B and 200 in town A, the school should be located 1 mile away from town A, because since town A makes up 2/3 of the school, it should only have to travel 1/3 of the distance. I have no idea if that's right, though, and even if it is, no idea how I would set it up algebraically.
I'd really appreciate your input on either one of these. Thanks so much!
Edit: Ooh, no, it doesn't look like the html is working. Let me just type this out then:
140, -56, -42, -28
-14, 70, 56, 28
42, 14, 0, 84
98, 112, 126, -70
It says, "switch two numbers to produce an additive magic square." Before moving anything around, I added up all the rows and columns and diagonals, finding that 140 was the most prevalent answer, and thus, probably the one I was trying to get. All but 5 of them equaled 140: The other answers were 266, 146, 14, 266, and 14. However, I'm not sure where to go from here. Just from playing around with the numbers I found that -56 + 70 + 84 + 42 = 140, for example, but that would require moving two numbers, which would effectively switch four numbers, and besides, it messes up the ones that already equal 140. Is there anyway to go about this other than what seems like a very frustrating, tedious process of guess and check?
The other problem I have is, "Two towns A and B are 3 miles apart. It is proposed to build a new school to serve 200 students in town A and 100 students in town B. How far from town A should the school be built if the total distance traveled by all 300 students is to be as small as possible?" I don't even know where to start with that one, especially because the way I'm interpreting it, the distance for all the students would be as small as possible if it were 1.5 miles away from both towns, but I know that's too easy. The only thing I can think of is that since there are 100 students in town B and 200 in town A, the school should be located 1 mile away from town A, because since town A makes up 2/3 of the school, it should only have to travel 1/3 of the distance. I have no idea if that's right, though, and even if it is, no idea how I would set it up algebraically.
I'd really appreciate your input on either one of these. Thanks so much!