Morris the cat finds a 100$ bill in an alley way and decides to go shopping at Rodent Warehouse. He wants to purchase white mice, and brown hamsters. The mice are 3$ each, and the hamsters are 8$ each. If he wants to buy twice as many mice as hamsters, what is the most of each that he can buy whiteout spending more than 100$

3 answers

3m + 8h ≤ 100
but h = 2m
3m + 8(2m) ≤ 100
19m ≤ 100
m ≤ 5.25

so he can buy at most 5 mice and 10 hamsters

testing:
5 mice and 10 hamsters would cost 15 + 80 = $95
6 mice and 12 hamsters would cost 18 + 96 = 114$ , he does not have that much
3 m + 8 h ≤ 100

m = 2 h

substituting ... 3 (2 h) + 8 h ≤ 100 ... 14 h ≤ 100 ... h = 7

substitute back to find m
mathhelper you are goateed I love you