+ Reply to Thread
Results 1 to 4 of 4

Graphing Multivariable Equations

  1. #1
    Registered User
    Join Date
    08-11-2015
    Location
    United States
    MS-Off Ver
    2003, 2007
    Posts
    23

    Graphing Multivariable Equations

    How would I use Excel to create a graph that would help me to solve problems like the following hypothetical situation?
    I am a fruit stand owner and have $100 to spend to purchase up to 8 bushels of fruit from the market to sell in my fruit stand. I will then set various prices to sell the fruit.
    The market has 12 different kinds of fruit, all with different prices.
    I can purchase up to 8 bushels of fruit (I could purchase bushels of all of the same fruit or combination of the 12 various fruits). I want to spend all or nearly all of the $100 but don't have to purchase 8 bushels. I could purchase only 5 bushels if that would maximize my profit. I have space to display 8 bushels and for every space left empty I lose $3.
    What I need to know is- how many bushels of which fruits do I need to purchase to maximize profit?

    I think I can use Excel to create a graph with the different combinations of purchasing the fruits for the $100 I have to spend and display the profits from those purchase combinations. How do I do this?
    Last edited by DDE12; 08-31-2015 at 11:05 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Graphing Multivariable Equations

    Wleocme to the board.

    Solver is a built-in tool in Excel that will solve, among other things, linear programming problems like yours. See http://www.solver.com/excel-solver-optimization-methods
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-11-2015
    Location
    United States
    MS-Off Ver
    2003, 2007
    Posts
    23

    Re: Graphing Multivariable Equations

    Thanks for the tip shg. With a combination of web searching and trial & error, I came up with the following table and solver parameters.

    Solver table.JPG

    The formula for F14 is =SUM(F2:F13)-(3*(8-$D$14)) This will account for the $3 loss for empty display bushels.
    The solver parameters are:
    Target Cell: $F$14 Equal to: Max
    By Changing Cells:
    $D$2:$D$13
    Constraints:
    $D$14 <= 8
    $D$2:$D$13 = integer
    $D$2:$D$13 >= 0
    $E$14 <= 100
    With Options:
    Max Time: 300 seconds
    Iterations: 30000
    Precision: 0.000001
    Tolerance: 0.000001 %
    Convergence: 0.001
    Select Assume Linear Model (when left unselected I would still not get integers for the number of bushels despite that being a constraint.)
    Tangent, Forward, Newton

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Graphing Multivariable Equations

    Good job, thanks for posting back.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] graphing algebra equations
    By Mangesh Yadav in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 09:05 PM
  2. [SOLVED] graphing algebra equations
    By Mangesh Yadav in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 07:05 PM
  3. [SOLVED] graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  4. graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  5. graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  6. graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  7. [SOLVED] graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  8. [SOLVED] graphing algebra equations
    By coryriffel011 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1