+ Reply to Thread
Results 1 to 5 of 5

multi variable equation

  1. #1
    Registered User
    Join Date
    05-03-2013
    Location
    Hawaii
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question multi variable equation

    Trying to run a sensitivity with 4 variables each with a range of values

    its is simple product of x*y*z*d = revenue but I would like to have a range with each variable

    hours of operation = x (8 - 18 hrs)(every 2)
    People per year = y (50,000 - 500,000)(every 50,000)
    ticket price per hour = z (50 - 300)(every 50)
    operating day per year = d (180 - 360)(every 30)

    Is there an easy way to generate this matrix and then graph it?

    Thanks
    KJK

  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: multi variable equation

    There's nothing to graph. The derivative of revenue is linear in each of the factors.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-03-2013
    Location
    Hawaii
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: multi variable equation

    @shg - any idea on how to generate the data?

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: multi variable equation

    Is there an easy way to generate this matrix and then graph it?
    Define "easy." You have a "surface" in 5 dimensional space, and you want to "picture" it using a 2 dimensional medium (paper or screen).

    Assuming that this is the best way to analyze this sort of thing, I might generate the tables and charts like this. The way I usually represent multidimensional data is in contour plots. One contour plot can show 3 dimensional data. It might look like this:
    Please Login or Register  to view this content.
    From that, plot C3:J13, and you should get a nice contour plot showing r vs y at constant d, x, and z (assuming it is plotted as columns. If Excel decides to plot as rows, then you will get a contour plot showing r vs d at constant y, x, and z).

    From there, I would make 5 copies of that tab, increasing z in each tab. Then make 5 copies of that block of 6 tabs (for a total of 36 tabs) to generate contour plots at all 36 combination of x and z. By comparing individual contour plots, you can show the trend in r as each variable changes. It sounds like a lot, but, once you have one table/chart created, it is a relatively simple operation to make copies.

    If I wanted to show it on one contour plot, I would probably put the lowest and highest combinations of x and z only into one plot, recognizing that the function is "linear" so the in between "contours" will fit smoothly in between these limits. All 36 combinations will almost certainly show too much information for one plot.

    As shg points out, without a discussion of the interrelationships between the independent variables (how does increasing price decrease the number of people per year, for example), the function is very linear and constantly increasing. It will be up to you to decide if this kind of analysis will really show you what you want to see.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    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: multi variable equation

    You could graph z=xy as a surface plot (a 3D construction). I have no idea how you add two dimensions to that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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