+ Reply to Thread
Results 1 to 2 of 2

Simulation excel homework.

  1. #1
    Registered User
    Join Date
    07-16-2017
    Location
    United States
    MS-Off Ver
    2010
    Posts
    2

    Unhappy Simulation excel homework.

    Two in-flight planes are scheduled to land at 6pm and 6:10pm respectively. A third connecting flight is departing at 6:30, and 20 and 10 passengers from the first two flights respectively are scheduled to take it. But since it takes 15 minutes to transfer, who arrives after 6:15 will miss the flight. To complicate things, the second flight has to wait until the first has landed before it is granted permission to land. Both flights are expected to arrive with a delay between 0 and 20 minutes uniformly distributed. Please create a large enough simulation so that the calculated average number of passengers who missed the connection is relatively stable.



    Can I get help with this excel problem. I need to know what formula should I use in order to get the average number of passengers? I already did the calculation for delay which I used the =RANDBETWEEN(0,20)..IS THIS CORRECT..PLEASE HELP.

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

    Re: Simulation excel homework.

    I like that you have asked a specific question rather than the open ended "how do I do this?" kind of question.

    RANDBETWEEN() might be the correct function, it depends on exactly what you are trying to do. RANDBETWEEN(0,20) will return random, uniformly distributed integers between 0 and 20 (2, 15, etc., but not 3.5, 4.26, 10.14, etc.). If integer minutes are adequate for your desired simulation, then this is fine. However, if you would prefer to return random real numbers between 0 and 20, see the formula using the RAND() function: https://support.office.com/en-us/art...0-021ea9f5be73

    Another thing for you to consider, if your times are going to be real time values, then you should consider that Excel stores times as fractions of a day (you might review this: http://www.cpearson.com/Excel/datetime.htm#SerialDates ). So, in this respect, a random time between 0 and 20 minutes ends up being a random number between 0/1440 and 20/1440=0.013888.... You could either use the RAND() function as explained in the help file (=RAND()*0.01388888889) or =TIME(0,RAND()*20,0) or TIME(0,RANDBETWEEN(0,20),0). A lot of this depends on exactly how you are entering and using these times (whether or not you are using Excel's built date/time serial number system or something else).

    From there, I might also suggest reviewing this brief example of a Monte Carlo simulation that I put together: https://www.excelforum.com/tips-and-...l-problem.html In this example, I use the Monty Hall problem to illustrate how I might set up a Monte Carlo simulation. I would expect to use a similar set up if I were to tackle your simulation.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Need help with my excel homework
    By boston1234 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-08-2017, 02:18 AM
  2. Excel Homework Question
    By kylekelley2015 in forum Excel General
    Replies: 3
    Last Post: 03-09-2017, 05:09 PM
  3. Need urgent help with Excel Homework
    By Mona Narimalla in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-16-2016, 12:21 AM
  4. Need help on some Homework in Excel vba. x-Posted
    By hydroify in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2015, 10:20 PM
  5. Homework help on Excel?
    By insomniousfire in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-15-2012, 11:25 AM
  6. Advanced Excel homework, HELP!
    By jsmith161 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2011, 05:40 PM
  7. Excel Homework trouble: IF function
    By dyoung6 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-19-2008, 03:21 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