Question

The inter-arrival times of customers arriving in a Pizza shop have an exponential distribution with rate α = 0.3 per minute. Simulate the times of 10 customers arriving in the shop. Also give the number of customers arriving in first 30 minutes.

17 Mar 2017
Answer :
Word Count : 342

To simulate the arrival times of customers in a Pizza shop with an exponential distribution, we can use a random number generator. In this case, the rate (α) is given as 0.3 per minute. The exponential distribution has a probability density function given by:

f(x) = α * exp(-αx), for x >= 0
f(x) = 0, for x < 0

To simulate the arrival times of 10 customers, we can follow these steps:

1. Initialize variables: 
   - Set time to 0 (start time).
   - Initialize a counter for the number of customers to 0.
   - Create an empty list to store the arrival times.

2. Loop 10 times to simulate 10 customer arrivals:
   -

____ _______ _________ _________ ___ ______ __________.
__________ ____ _____ ____ __________ __________.
__________ _________ _______ _____ __________ ____ _______.
__________ _______ _________ __________ _________ ________ ___ ____ _________ _____ _______.
________ _________ __________ __________ _______ __________ _______.
_____ __________ _____ ___ ______ ___ ______.
____ ________ ________ ________ ___ _________.
____ _____ ______ __________ ________ ________ ____ _____ _____ ________.
__________ ______ _______ ____ ________ ____ _______ ____.
____ _________ _________ ____ ______ ________ _________ ____.
____ ___ _______ __________ ________ __________ ______ _____ ____ ___ _______.
_________ _____ ____ ___ _____ _________ _______ ________ ____ ________ _______ ________.
_____ _______ _______ ______ ______.
_______ __________ _______ __________ ________ _________ _____ ___.
___ ______ ___ ____ ______.
____ ___ ________ _________ _____ _________ ___ ______ _______ _____.
_________ ________ _________ _____ __________ ___ _________ _______ _________ ____ _____ _____.
_______ __________ ______ _________ ________ ________ _____ ______ ______ ______ _____.
_______ ________ ____ _____ _____ _____ _________.
_________ ______ ___ _______ ______ _____ _____ _______ __________ _______ _______.
______ ________ ___ _____ ________ _______ ____ ______ ___ ______ __________ ________.
_______ ____ ______ _____ ____ _______ _______.
___ ___ __________ _________ ___ ____.
______ _________ ______ ________ _____ ___ __________ ______ ____ _____.
______ _____ _________ _____ ______ ________ _________ _____.
____ ____ __________ ________ __________ ________ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MST 5 2017 - The inter-arrival times of customers arriving in a Pizza shop have an | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→