2. A bread vendor buys loves of bread every morning at Rs. 0.45 each by
placing an order in Advance ( at the time of receiving his previous
order ) and sells them at Rs. 0.70 a loaf. Each unsold loaf can be sold
next day at Rs. 0.20 per loaf and there after should be treated as of no
value. The pattern of demand for the bread is given below.
He orders 55 loves of bread per day. Simulate the demand supply pattern for
10 days and calculate the vendors profit per day. Use the following random
numbers:
Fresh bread: 72, 08, 12, 74, 79, 17, 32, 71, 21, 98
One day old bread 92, 77, 86, 54, 88, 58, 92, 96, 78, 34
3. At a service station a study was made over a period of 25 days to
determine both the number of automobiles being brought in for
service and the number of automobiles serviced. The results are:
Simulate the arrival service pattern for a 10-days period and estimate the
mean number of automobiles that remain in service for more than one
day. The random numbers for arrivals and completion of service are
respectively 09544201800606265779 and 11301811855263182901
Daily 0 1 2 3 4
demand
Probability 0.1 0.2 0.4 0.2 0.1
Each time an order is placed, the store incurs an ordering cost of Rs 100/-
per order. The store also incurs a carrying cost of Rs. 4/- per book per day.
At the beginning of first day the store has a stock of 8 books plus 6 books
ordered 2 days ago are expected to arrive next day. The manager of the book
store decides to order 8 books when inventory at the end of the day plus
orders out standing is less than 8 books.
Simulate for 15 days and estimate
i) Number of order to be placed, ii) total inventory cost.
With the help of following random numbers generate the number of cars
arriving during the next 15 days. And hence find the average number of cars
delayed for unloading per day. Random numbers are
92, 02, 80, 66, 96, 55, 50, 29, 58, 51, 04, 86, 24, 39, 47.
7. The inter arrival time and the service time along with their respective
probabilities are as given below:
Inter-arrival time ( in 0.5 1.0 1.5 2.0 2.5 3.0
minute )
Estimate the average customer-waiting time and the idle time of the server
by simulation for the next 10 arrivals. The random numbers for arrivals and
service are as follows:
85, 66, 96, 28, 68, 45, 19, 69, 59, 35, and 67, 74, 29, 92, 24, 44, 31, 52, 43,
07
8. The inter arrival time and the service time along with their respective
probabilities are as given below:
Inter-arrival time ( in 0.1 0.2 0.3 0.4 0.5
minute )
Simulate the process of 10 arrivals and estimate the average idle time and
waiting time. Use the following random numbers:
25, 19, 64, 82, 62, 74, 29, 92, 24, 23 and
02, 41, 46, 04, 44, 31, 52, 43, 07, 55