Results 1 to 3 of 3

Thread: Math Problem Help

  1. #1
    Join Date
    Jul 2007
    SF bay area, California US

    Default Math Problem Help

    Hey I need help on a word problem. How would you set this up?

    "A juice company makes two kinds of juice: Orangeade and Berry-fruity. One gallon of Orangeade is made by mixing 2.5 quarts of orange juice and 1.5 quarts of raspberry juice, while one gallon of Berry-fruity is made by mixing 3 quarts of raspberry juice and 1 quart of orange juice. A profit of $.50 is made on every gallon of Orangeade sold, and a profit of $.40 is made on every gallon of Berry-fruity sold. If the company has 150 gallons of raspberry juice and 125 gallons of orange juice on hand, how many gallons of each type of juice should be made to maximize profit?"

    The Objective function is P = .5x + .4y where x is orangeade, y is berry-fruity and P is profit.

    The constrait is the amounts of orange juice and raspberry juice but I don't know how to set up the equations. Can anyone explain? Thanks.
    7/16/07: First sub 20 average; 19.49
    7/25/07: First BLD solve; 11:06.64

  2. #2
    Premium Member Dene's Avatar
    Join Date
    Dec 2007
    WCA Profile


    I think the best way is to write an equation so one variable is in terms of the other (I can't be bothered to work it out, but something like 5x=2y-1 or whatever). Then substitute the new equation into the old one and play around with it a bit.
    (11:03:38 AM) Dene: killermanp0: btw do you know what "EG" stands for?
    (11:04:28 AM) killermanp0: yeah
    (11:04:34 AM) killermanp0: Erik and Guimmoind

  3. #3
    Premium Member cmhardw's Avatar
    Join Date
    Apr 2006
    Madison, Wisconsin
    WCA Profile


    Break down each of orangeade and Berry-fruity into their component parts.

    For example, their are x gallons of orangeade. Orange juice is 5/8 of Orangeade and Raspberry is 3/8 based on your proportion.

    There are y gallons of Berry-fruity. Orange juice is 1/4 of this and Raspberry is 3/4 of this.

    Now add up all the orange juice used from both drinks:
    x*(5/8) + y*(1/4) <= 125

    This says that the amount of orange juice in Orangeade plus the amount of orange juice in Berry fruity must be less than or equal to the total available 125 gallons.

    Do the same for raspberry to get:
    x*(3/8)+y*(3/4) <= 150

    Graph this on a graph where the x axis is the amount of orangeade and the y axis is the amount of berry-fruity. Your maximal point for the profit function must occur at a corner of the solution region. Test the four corner points and see which one gives you the most profit.

    I think it should be implicitly understood that x >= 0 and y >= 0 as well

    Hope this helps,
    Last edited by cmhardw; 05-04-2008 at 11:07 PM.

Similar Threads

  1. Math Problem - 12
    By Lucas Garron in forum Off-Topic Discussion
    Replies: 5
    Last Post: 08-18-2008, 06:59 AM
  2. Math Problem - 10
    By nitrocan in forum Off-Topic Discussion
    Replies: 16
    Last Post: 08-15-2008, 10:07 PM
  3. Math Problem - 11
    By nitrocan in forum Off-Topic Discussion
    Replies: 7
    Last Post: 08-15-2008, 03:18 PM
  4. Math Problem - 9
    By JBCM627 in forum Off-Topic Discussion
    Replies: 12
    Last Post: 08-14-2008, 04:11 PM
  5. Fun math problem
    By cmhardw in forum Off-Topic Discussion
    Replies: 29
    Last Post: 08-09-2008, 08:45 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts