Maximize City Kid Earnings: Peas & Carrots

  • Context:
  • Thread starter Thread starter zarahzehri01
  • Start date Start date
  • Tags Tags
    Optimization
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
zarahzehri01
Messages
2
Reaction score
0
I am a city kid with a windowsill with the dimensions 12x5 inches. I have peas which require a 1x4 space and make me 15 dollars, and carrots which require 1x5 space and make me 50. I can only make 15 sets of peas if I were to use the whole space, and 12 sets of carrots if I were to use the whole space for carrots. How would I make the most amount of money? I think I have to use graphing and I know the restrictions are x+y ≤ 60 (60 slots available), and x≤15 (peas) and y≤12 (carrots).
 
Mathematics news on Phys.org
this is all I have done
 
zarahzehri01 said:
I am a city kid with a windowsill with the dimensions 12x5 inches. I have peas which require a 1x4 space and make me 15 dollars, and carrots which require 1x5 space and make me 50. I can only make 15 sets of peas if I were to use the whole space, and 12 sets of carrots if I were to use the whole space for carrots. How would I make the most amount of money? I think I have to use graphing and I know the restrictions are x+y ≤ 60 (60 slots available), and x≤15 (peas) and y≤12 (carrots).

Hi zarahzehri01! Welcome to MHB! (Smile)

If we use all available space for peas, we'd make $15 \times \$15 = \$225$.
And if we use all available space for carrots, we'd make $12 \times \$50 = \$600$.
So if we can, we should put only carrots in the windowsill.
Can we?