Professional Documents
Culture Documents
Final (BDSM) Simulation
Final (BDSM) Simulation
Probabilities
Event Prob. Cum. Lower Upper Event
Head 0.5 0.5 0 0.5 Head
Tail 0.5 1 0.5 1 Tail
Method 1
X Prob
Min Max Prob Cum Lower Upper Xm
0 5 0.1 0.1 0 0.1 3
6 10 0.2 0.3 0.1 0.3 8
11 15 0.18 0.48 0.3 0.48 13
16 20 0.2 0.68 0.48 0.68 18
21 25 0.12 0.8 0.68 0.8 23
26 30 0.1 0.9 0.8 0.9 28
31 35 0.1 1 0.9 1 33
Lower and Upper probabilities have been computed with the help of Cumulative
Probability. It starts from the lower up to the maximum cumulative for each group.
Random Number is generated and then trough
Vlookup that random number is looked for in lower
and upper probabilites and then the corresponding
age of minimum quantity is returned.
of quantity =VLOOKUP(RAND(),$G$5:$I$11,3,TRUE)
Capital
Investment 120000
Trial Price Cost Volume Profit
1 24 22 40000 -40000
2 22 18 40000 160000
3 24 18 50000 300000
4 24 18 50000 300000
5 22 18 50000 200000
6 22 20 45000 90000
7 24 20 45000 180000
8 24 18 40000 240000
9 24 22 50000 100000
10 27 18 50000 450000
11 22 22 45000 0
12 22 18 40000 160000
13 22 20 45000 90000
14 24 20 45000 180000
15 24 20 50000 200000
16 22 18 40000 160000
17 24 18 40000 240000
18 24 18 50000 300000
19 24 22 45000 90000
20 27 20 40000 280000
Avg. Profit 184000
to calculate profit.
Product Sales
Limits
P Lower Upper Sales P
0.4 0 0.25 40000 0.25
0.4 0.25 0.75 45000 0.5
0.2 0.75 1 50000 0.25
Simulation Production Demand Difference
Demand Labours Availability
Limits Limits
Lower Upper Units Prob Lower Upper
0 0.15 2400 0.15 0 0.2
0.15 0.35 2600 0.2 0.2 0.5
0.35 0.65 3000 0.3 0.5 0.8
0.65 0.85 3400 0.2 0.8 1
0.85 1 3800 0.15
Total Labors 100
Labor Hours 8
Units /Hour 5
Cumulative
Purchase
Prob Min Max amount
0.25 0 0.25 500
0.2 0.25 0.45 600
0.25 0.45 0.7 700
0.15 0.7 0.85 800
0.1 0.85 0.95 900
0.05 0.95 1 1000
Amount Purschsed by Each Customer
5 6 7 8 9 10 Average
800 500 500 642.8571
600 600 700 800 662.5
500 500 500 700 612.5
500 500 800 1000 662.5
700 600 633.3333
500 600 500 600 600 666.6667
700 500 666.6667
500 700 600 714.2857
500 700 683.3333
800 700 900 600 700
A cycle trader is selling Bicyles, Mopeds and Child Seats. The unit profit for Bicyles, Mopeds and
Child Seats are 100, 300 and 50. The capital required for Bicyles, Mopeds and Child Seats per
unit are 300, 1200 and 120. the Total capital avilable with the trader is 93000. The another
constraint is the area occupied. Bicyles, Mopeds and Child seats occupy 0.5 m2, 1 m2 and 0.5
m2. the total speace available is 101 m2. Find how many units of each product must be bought
to maximize the profit.
b m c used
capital 300 1200 120 93000 <=
Area 0.5 1 0.5 101 <=
quantity 94 54 0
unit profit 100 300 50
Bicyles, Mopeds and
and Child Seats per
3000. The another
.5 m2, 1 m2 and 0.5
duct must be bought
Avaliabe
93000
101
total profit
25600
Product
Machine A B
Min/Unit M/C Daily Hours Req Min Avail Min A Avail Min b
K 20 10 7 8 500 <= 3360
L 15 20 7 8 625 <= 3360
M 0 25 4 8 500 <= 1920
SUPPLIED 80 90 100 70 60
= = = = =
DEMAND 80 90 100 70 60
the warehouse requirement and the other is
n is given in table 1. The production capacity
ired amount at different warehouses are 80,
espectively.
PRODUCED CPACITY
170 <= 200
80 <= 100
150 <= 150
TOTAL COST
770
Three persons are being assigned to perform three tasks. the Cost attached with the tasks are given belo
assigned only one task and each task is to be completed in a way to minimize the cost of pro
24 47 58 129
d with the tasks are given below. One person will be
way to minimize the cost of production.
1
1
1