You are on page 1of 52

Alice and Bob went on a date to Fort Canning park.

After chugging down two burgers each, they dec


go for a 500K walk (yes, they are crazy). Alice runs at the speed of 2 Km / hour and Bob 3 Km. They
walking on 1 April 2014 1:00 PM. If Alice is given a headstart distance of 50 Km:
1) At which point (distance in Km) will Bob catch up with Alice?
2) On which day and time will Bob catch up with Alice?

Create a worksheet with Input, Model, Output and a line graph showing the progression of both Alice
Bob. You may assume that they walk non-stop.

Speed
Alice

Time
Bob

4/1/2016 13:00
2
3
4/1/2016 14:00
4/1/2016 15:00
4/1/2016 16:00
Distance (km) Day
Time
4/1/2016 17:00
150
3-Apr-16
3:00 PM 4/1/2016 18:00
4/1/2016 19:00
4/1/2016 20:00
4/1/2016 21:00
4/1/2016 22:00
4/1/2016 23:00
4/2/2016 0:00
4/2/2016 1:00
4/2/2016 2:00
4/2/2016 3:00
4/2/2016 4:00
4/2/2016 5:00
4/2/2016 6:00
4/2/2016 7:00
4/2/2016 8:00
4/2/2016 9:00
4/2/2016 10:00
4/2/2016 11:00
4/2/2016 12:00
4/2/2016 13:00
4/2/2016 14:00
4/2/2016 15:00
4/2/2016 16:00
4/2/2016 17:00
4/2/2016 18:00
4/2/2016 19:00
4/2/2016 20:00
4/2/2016 21:00

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

4/2/2016 22:00
4/2/2016 23:00
4/3/2016 0:00
4/3/2016 1:00
4/3/2016 2:00
4/3/2016 3:00
4/3/2016 4:00
4/3/2016 5:00
4/3/2016 6:00
4/3/2016 7:00
4/3/2016 8:00
4/3/2016 9:00
4/3/2016 10:00
4/3/2016 11:00
4/3/2016 12:00
4/3/2016 13:00
4/3/2016 14:00
4/3/2016 15:00
4/3/2016 16:00
4/3/2016 17:00
4/3/2016 18:00
4/3/2016 19:00
4/3/2016 20:00
4/3/2016 21:00
4/3/2016 22:00
4/3/2016 23:00
4/4/2016 0:00

34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

wn two burgers each, they decided to


m / hour and Bob 3 Km. They start
of 50 Km:

g the progression of both Alice and

Distance km (Alice) Distance km (Bob)


50
0
52
3
54
6
56
9
58
12
60
15
62
18
64
21
66
24
68
27
70
30
72
33
74
36
76
39
78
42
80
45
82
48
84
51
86
54
88
57
90
60
92
63
94
66
96
69
98
72
100
75
102
78
104
81
106
84
108
87
110
90
112
93
114
96

200
180
160
140
120
100
80
60
40
20
0

116
118
120
122
124
126
128
130
132
134
136
138
140
142
144
146
148
150
152
154
156
158
160
162
164
166
168

99
102
105
108
111
114
117
120
123
126
129
132
135
138
141
144
147
150
153
156
159
162
165
168
171
174
177

Distance km (Alice)
Distance km (Bob)

One of the signature disehes at Cafe Du Monde in New Orleans's French


Quarter is the beignet. The cafe produces tens of thousands of beignets
each day and three types of machines are used to produce the bread:
mixer, grinder, and oven. After a grand renovation in 2013, the cafe added
2000 sq. feet of space and they expect the demand to grow. Complete the
worksheet on the right hand side. Perform "Type 2" (moving average)
forecast.
How many mixer machines will the cafe need to meet the projected
demand in year 2023?

Number of Machines
# machines
Year
Demand Mixer
2004
50000
2005
50500
2006
53000
2007
54000
2008
72000
2009
73000
2010
75000
2011
89000
2012
90000
2013
91000
2014
92000
2015
93000
2016
94000
2017
94500
2018
95000
2019
95700
2020
96000
2021
96500
2022
97000
2023
110000

Productivity
# machines
Grinder
3
3
3
3
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
6

# machines
Oven
2
2
3
3
3
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5

Year
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5

2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023

roductivity
# machines
# machines
# machines
Demand Mixer
Grinder
Oven
50000
16666.667
25000.000
12500.000
50500
16833.333
25250.000
12625.000
53000
17666.667
17666.667
13250.000
54000
18000.000
18000.000
13500.000
72000
18000.000
24000.000
18000.000
73000
18250.000
18250.000
14600.000
75000
18750.000
18750.000
15000.000
89000
17800.000
22250.000
17800.000
90000
18000.000
18000.000
18000.000
91000
18200.000
18200.000
18200.000
92000
18333.090
19079.867
18263.685
93000
18298.900
19277.504
18373.256
94000
18234.825
19717.348
18471.784
94500
18200.469
19590.125
18521.264
95000
18159.245
19195.893
18571.827
95700
18125.366
19515.356
18889.940
96000
18087.301
19464.498
18932.597
96500
18240.939
19182.932
18899.954
97000
18196.622
19784.948
18964.473
110000
17897.907
21798.029
20812.285

Meow Music Company is selling concert tickets. The concert is going to


be held at a hall with a maximum capacity of 1000 seats. All seats cost
the same. The company manager Mr. Whiskers is expecting about 80%
occupancy at the rate of $100 (ticket price) and he gives the figures
based on his intuition in columns M and N.
Assume a linear relationship between Ticket Price and Occupancy. Find
Slope and Intercept (N12, N13). Update J4 so that Occupancy is correctly
calcualted based on the above mentioned relationship. Create a scatter
plot, add a trend line, display equation on chart and show R^2 value on
chart.
What is the optimal Ticket Price to achieve the maximum profit?

Ticket Price (per person)


Occupancy
Fixed Cost (per seat)
Variable Cost (per person)
Profit (per person)
Total Seats in Concert Hall
Total Profit (concert hall)

206.18
50.8%
$10
$5
$102.15

1000
$92,146.37

Ticket Price
$60
$80
$100
$120
$140
$160
$180
$200
SLOPE
INTERCEPT

100%
80%

f(x) = - 0.002523809
R = 0.9657899261

60%
40%
20%
0%
$40

$60

$80

$100 $120

Occupancy
87%
85%
80%
70%
65%
60%
58%
55%
-0.00252381
1.02809524

Occupancy
f(x) = - 0.0025238095x + 1.0280952381
R = 0.9657899261

Occupancy
Linear (Occupancy)

$60

$80

$100 $120 $140 $160 $180 $200 $220

Part A
I want to spend 24 months away biking around the world. I would need
$2,500 each month for expenses and in the last month, an additional
$500 for buying gifts for my kitties. At 3.75% per year interest, how
much money should I have initially in my bank account to cover the cost
of this adventure? Assume that during the adventure, you will take
monthly stipend out of your account at the start/beginning of each
month. Complete Row 4.
Part B
Complete K13 through K21. Show, in each month, how much money is
remaining in your account after withdrawl of monthly stipend. Use Goal
Seek to find the correct balance in K12.

Part A
Rate
3.75%

Nper
24

pv
$58,362.71

Part B

Take money at the START of the month.


Month
Withdraw
Balance
0
$58,362.71
1
$2,500
$56,037.28
2
$2,500
$53,704.58
3
$2,500
$51,364.60
4
$2,500
$49,017.30
5
$2,500
$46,662.66
6
$2,500
$44,300.67
7
$2,500
$41,931.30
8
$2,500
$39,554.52
9
$2,500
$37,170.32
10
$2,500
$34,778.66
11
$2,500
$32,379.53
12
$2,500
$29,972.91
13
$2,500
$27,558.76
14
$2,500
$25,137.07
15
$2,500
$22,707.81
16
$2,500
$20,270.96
17
$2,500
$17,826.49
18
$2,500
$15,374.39
19
$2,500
$12,914.62
20
$2,500
$10,447.17
21
$2,500
$7,972.00
22
$2,500
$5,489.10
23
$2,500
$2,998.44
24
$2,500
$500.00

fv
-$500

pmt
-$2,500

Part A
Mr. Whiskers is investing in a project with an initial $20,000 and a
sequence of cash flows thus generated as shown below. If the return
rate is 7.2% per year, what is the project worth at today's value?
Compute Net Present Value at the end of the 10 year term using an
Excel finance function.
Part B
Do the above calculation manually as shown on the right hand side.

Return Rate

7.2%
per yr

Practice
Year
0
1
2
3
4
5
6
7
8
9
10

CashFlow
-$20,000
$5,699
$5,463
$5,652
$5,895
$4,898
$5,841
$4,082
$5,693
$4,818
$4,489

Part A
NPV

$17,020.32

Part B
Without Excel financial function
Year
CashFlow
0
-$20,000
1
$5,699
2
$5,463
3
$5,652
4
$5,895
5
$4,898
6
$5,841
7
$4,082
8
$5,693
9
$4,818
10
$4,489

PresentValue
-$20,000
$5,316
$4,754
$4,588
$4,464
$3,460
$3,849
$2,509
$3,264
$2,577
$2,240

Employee Appreciation Day


Mr. Whiskers is rewarding his feline employees by giving them a hug or
more. On this very special day, which feline employees will receive hugs
from sweet Mr. Whiskers?
Part A
Complete Cell D22 using VLOOKUP.
Part B
Complete Cell D23 using INDEX and MATCH.
Part C
Complete Cell D24 using IF (do not use LOOKUP/VLOOKUP/INDEX/MATCH).
How many hugs will Quirk get?

Test Cases
Cat Name
Neutron
Proton
Quirk

# rats captured # hugs to be received from Mr. Whiskers


9
1
150
15
220
20

Lookup Table
# of rats captured (lower bound) # hugs
0
1
100
15
200
20
300
25

Meow Fish Company

Meow Fish Company produces three kinds of cat food: Seafood Mix, Crab Mix, and Chicken Mix. Long
term projections indicate an expected demand of at least:
1000 Seafood Mix cans
1500 Crab Mix cans
2000 Chicken Mix cans
Because of limitations on production capacity, no more than 4000 Seafood Mix cans, 4500 Crab Mix
cans and 6000 Chicken Mix cans can be made daily. To satisfy a shipping contract, a total of at least
10,000 food cans must be shipped each day.

If Seafood Mix sold results in a $5 net positive gain, Crab Mix $6.50 net positive gain, and Chicken M
$2.75 loss, how many of each type should be made daily to maximize net profits? Use Solver.
What is the maximum net profit amount (Cell L11) in dollars?

Constraints
1000 <=
1500 <=
2000 <=
x+y+z

>=

x
y
z

<=
<=
<=
10000

4000
4500
6000

and Chicken Mix. Long-

cans, 4500 Crab Mix


act, a total of at least

e gain, and Chicken Mix a


fits? Use Solver.

Profit
Seafood Mix
Crab Mix Chicken Mix
$
5.00 $
6.50 $
(2.75)
Quantity
Seafood Mix
Crab Mix Chicken Mix Total
4000
4500
2000
10500
Profit
$ 43,750.00

How do you find the 7th smallest number given an un-ordered/un-sorted array of
numbers?
How do you find the 3rd largest number given an un-ordered/un-sorted array of
numbers?
How do you generate a random real number between 1 and 100?

20.7
39.5
0.2
100
2.7
9.4
3.7
6.2
1.1
87.4
103.2

7th smallest number


3rd largest number

20.7
87.4

Random Real Number Between 1 and 100 30.783257

How many days have elapsed since we had our first CAT lesson togehter?

Date of Our First CAT lesson 19-Aug-14


Today's date
11/29/2016
Number of days elapsed
833

Melissa's Hair Salon sends out a birthday coupon to all subscribing customers exactly
15 days before their birthdays. The birthday coupon message is customized in the
following way:
Customer first name: Tori
Customer's birthday: 19 November 1957
If today is a weekday AND her birthday is also a weekday:
Hello, Tori. MEOW! Enclosed is your b-day coupon.
If today is a weekday but her birthday is on a weekend:
Hello, Tori. OINK!. Enclosed is your b-day coupon.
If today is a weekend day (Saturday/Sunday) AND her birthday is also on a weekend:
Hello, Tori. MOO! Enclosed is your b-day coupon.
If today is a weekend day but her birthday is a weekday:
Hello, Tori. BOW WOW! Enclosed is your b-day coupon.

Today
Weekday
Weekday
Weekend
Weekend

Birthday
Weekday
Weekend
Weekend
Weekday

Message
Meow
Oink
Moo
Bow Wow

ers exactly
d in the

weekend:

Today
Today weekday? Yes
Today weekend?
First name
Alice
Bob
Clark
Diana
Edward
Frances

###

Birthday Birthday is weekdayNew birthdayBirthday is


7-Nov-66 Yes
7-Nov-14 Yes
3-Nov-44 Yes
3-Nov-14 Yes
31-Dec-55 No
31-Dec-14 Yes
20-Nov-33 Yes
20-Nov-14 Yes
5-Nov-88 No
5-Nov-14 Yes
7-Nov-99 No
7-Nov-14 Yes

Coupon Message
Meow
Meow
Oink
Meow
Oink
Oink

ID

Country
111 Russia
222 USA
333 Russia
444 Canada
555 USA
666 Russia
777 Canada
888 USA
999 Singapore

Name
John
Barbara
Ursula
Ralph
Patricia
Wayne
Vanessa
Lloyd
Inez

Age
17
20
55
43
21
35
47
17
39

# of people from Russia


# of 17-year-old folks
Age Range
< 20
>= 20 and < 40
>= 40 and < 50
> 50

3
2
Count
2
4
2
1

Score

Country
114 Russia
165 USA
178 Russia
143 Canada
130 USA
165 Russia
125 Canada
157 USA
160 Singapore
158 Singapore
143 USA

Num Children
1
1
3
2
1
3
2
1
1
3
1

Sum of scores by Russians


Sum of scores by USA folks

457
595

Sum of scores by folks with 3 children


Sum of scores by folks with 1 child

501
869

Height (cm) Rank


123
135
147
130
98
187

5
3
2
4
6
1

Value
10.5
7.2
200
5.4
8.1

90-th percentile
90-th percentile

124.2
124.2

Value
32
4
5.7
-2.3
8

Smallest number
2nd smallest number
Largest number
2nd largest number

-2.3
4
32
8

Discrete Distribution of 3 outcomes


Chance of Rainy
30%
Chance of Sunny
30%
Chance of Cloudy
40%
Simulate weather for the next 100 days
Lookup Table
0 Rainy
0.3 Sunny
0.6 Cloudy

Day

Random real number


Weather
1
0.8669257376 Cloudy
2
0.0117420976 Rainy
3
0.9442657796 Cloudy
4
0.6211240834 Cloudy
5
0.7502524084 Cloudy
6
0.0638382812 Rainy
7
0.7482817797 Cloudy
8
0.333198657 Sunny
9
0.0277041777 Rainy
10
0.9434673504 Cloudy
11
0.4851206413 Sunny
12
0.4819141547 Sunny
13
0.9707442722 Cloudy
14
0.4256391949 Sunny
15
0.5413678929 Sunny
16
0.7052014412 Cloudy
17
0.811491654 Cloudy
18
0.5447968962 Sunny
19
0.0540698569 Rainy
20
0.8236168055 Cloudy
21
0.1885479465 Rainy
22
0.9723115023 Cloudy
23
0.2801185842 Rainy
24
0.2308043537 Rainy
25
0.8360567943 Cloudy
26
0.099907103 Rainy
27
0.7163619318 Cloudy
28
0.3806485762 Sunny
29
0.4820262503 Sunny
30
0.7353314313 Cloudy
31
0.970526783 Cloudy
32
0.3075535076 Sunny
33
0.929902266 Cloudy
34
0.0090406011 Rainy
35
0.0406443852 Rainy
36
0.0394186326 Rainy
37
0.0908514515 Rainy
38
0.0328636218 Rainy
39
0.9253997738 Cloudy
40
0.4609347414 Sunny
41
0.7071291716 Cloudy
42
0.4588905561 Sunny
43
0.3744512172 Sunny
44
0.2477956638 Rainy
45
0.0828549555 Rainy

Based on simulation
# Rainy days
# Sunny days
# Cloudy days

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

0.3225091919 Sunny
0.7267412874 Cloudy
0.3634829379 Sunny
0.4545076694 Sunny
0.8625897702 Cloudy
0.8941149288 Cloudy
0.1170965733 Rainy
0.5353097073 Sunny
0.7260354471 Cloudy
0.6047425636 Cloudy
0.0851098793 Rainy
0.071976197 Rainy
0.0166958936 Rainy
0.2902850406 Rainy
0.5772588986 Sunny
0.0664739225 Rainy
0.5160801285 Sunny
0.2617120515 Rainy
0.5798355893 Sunny
0.9747787076 Cloudy
0.1141888439 Rainy
0.7147988505 Cloudy
0.3560585591 Sunny
0.4988740983 Sunny
0.0308312674 Rainy
0.7907874268 Cloudy
0.3372912172 Sunny
0.9519944915 Cloudy
0.9411019397 Cloudy
0.159796481 Rainy
0.1955048561 Rainy
0.66986114 Cloudy
0.8137277372 Cloudy
0.6220001148 Cloudy
0.213604762 Rainy
0.4345313525 Sunny
0.5752239227 Sunny
0.0196456111 Rainy
0.0592951004 Rainy
0.1145927384 Rainy
0.7166196711 Cloudy
0.8430872522 Cloudy
0.4599657475 Sunny
0.1869379466 Rainy
0.6947356656 Cloudy
0.6602230023 Cloudy

92
93
94
95
96
97
98
99
100

0.3501016167 Sunny
0.7091448542 Cloudy
0.881363841 Cloudy
0.8707661694 Cloudy
0.0334747236 Rainy
0.7852304929 Cloudy
0.32496606 Sunny
0.3613946503 Sunny
0.5962985156 Sunny

d on simulation
32
29
39

Income Analysis
Based on the past experience, the annual pay for a person with a Bachelor's degree from a
business school with less than three years of experience from the sample taken by a recruting
officer is as follows:
78000
65000
58500
67000
51250
54000
69500
58000
72000
76850
73500
79000
72000
68000
61000
66000
64750
61500
75500
64000
Use Excel to generate 300 normally distributed numbers. Let's call this Sample Data 1.
- Show mean and standard deviation of Sample Data 1.

s degree from a
ken by a recruting

ple Data 1.

Income
78000
65000
58500
67000
51250
54000
69500
58000
72000
76850
73500
79000
72000
68000
61000
66000
64750
61500
75500
64000

Original Data
Mean (average)
Standard Deviation
Sampled Data
Mean (average)
Standard Deviation

Iteration
66767.5
7908.411162

#NAME?
#DIV/0!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

Random real number Income


0.4587945205
#NAME?
0.3110259548
#NAME?
0.100053834
#NAME?
0.7611794986
#NAME?
0.3804979676
#NAME?
0.54455402
#NAME?
0.1135424837
#NAME?
0.8219670872
#NAME?
0.2706355462
#NAME?
0.6133818231
#NAME?
0.8284941781
#NAME?
0.086893606
#NAME?
0.4184425352
#NAME?
0.467385594
#NAME?
0.8293082074
#NAME?
0.2036163986
#NAME?
0.6395811222
#NAME?
0.4520186104
#NAME?
0.7093673237
#NAME?
0.8303445927
#NAME?
0.8975848029
#NAME?
0.7325674179
#NAME?
0.6209263799
#NAME?
0.8421425517
#NAME?
0.0081346883
#NAME?
0.7721875352
#NAME?
0.8804674798
#NAME?
0.4714849705
#NAME?
0.5480857496
#NAME?
0.2107971266
#NAME?
0.6821088202
#NAME?
0.4316368243
#NAME?
0.6551619472
#NAME?
0.7131026774
#NAME?
0.0977719631
#NAME?
0.7473484527
#NAME?
0.7085616093
#NAME?
0.7477847876
#NAME?
0.9842035121
#NAME?
0.4967282568
#NAME?
0.877013159
#NAME?
0.2490329868
#NAME?
0.1782172574
#NAME?
0.1211876606
#NAME?

45
0.0319658085
46
0.6446054168
47
0.6900201358
48
0.1813044825
49
0.3266522579
50
0.3602309218
51
0.8328057355
52
0.7809570506
53
0.8868059197
54
0.0053781103
55
0.4920977217
56
0.4518205819
57
0.0730487644
58 3.9358157664538E-005
59
0.9948704692
60
0.3956864886
61
0.1198699872
62
0.5823604173
63
0.6019013815
64
0.170871427
65
0.3219887384
66
0.1954681096
67
0.5292501193
68
0.6715408077
69
0.2268407005
70
0.2712420416
71
0.7222730946
72
0.6721776631
73
0.9331029826
74
0.664655966
75
0.5978588094
76
0.2895289676
77
0.2711151298
78
0.8521903667
79
0.9102746062
80
0.0890897415
81
0.9253484886
82
0.3123515777
83
0.1557904521
84
0.6576544906
85
0.1464475584
86
0.2897999487
87
0.5641112681
88
0.8705697213
89
0.7074910088
90
0.3723814231

#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?

91
92
93
94
95
96
97
98
99
100

0.5672466604
0.8471719595
0.1452033219
0.2585944799
0.1166899169
0.2049527357
0.2580988493
0.586616169
0.7487719422
0.5135576145

#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?
#NAME?

You might also like