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
45
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
|
{
"metadata": {
"name": "",
"signature": "sha256:aed8a204f6a6b9aa286380e07fd82210fb76cb7818bcaa10c4f627aee9d0c52a"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Present Worth Method of Comparision"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.1 Page 44"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"#technology 1\n",
"P=1200000.0;#in Rs\n",
"A=400000.0;#in Rs\n",
"i=20.0;#in % per annum\n",
"n=10.0;#in years\n",
"\n",
"#calculation\n",
"PW=-P+A*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth for this technology in RS. \",round(PW,3);\n",
"\n",
"#technology 2\n",
"P=2000000.0;#in Rs\n",
"A=600000.0;#in Rs\n",
"i=20.0;#in % per annum\n",
"n=10.0;#in years\n",
"\n",
"#calculation\n",
"PW=-P+A*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth for this technology in RS. \",round(PW,3);\n",
"\n",
"#technology 3\n",
"P=1800000.0;#in Rs\n",
"A=500000.0;#in Rs\n",
"i=20.0;#in % per annum\n",
"n=10.0;#in years\n",
"\n",
"#calculation\n",
"PW=-P+A*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth for this technology in RS. \",round(PW,3);\n",
"print \"It is clear from the calculations that the present worth of technology 2 is the highest among all technologies. Therefore technology 2 is suggested for implementation to expand the production.\";\n",
"print \"the answer is differnt due to approximation error\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth for this technology in RS. 476988.834\n",
"The present worth for this technology in RS. 515483.251\n",
"The present worth for this technology in RS. 296236.043\n",
"It is clear from the calculations that the present worth of technology 2 is the highest among all technologies. Therefore technology 2 is suggested for implementation to expand the production.\n",
"the answer is differnt due to approximation error\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.2 Page 46"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"#bid 1\n",
"P=450000.0;#in Rs\n",
"A=27000.0;#in Rs\n",
"i=15.0;#in % per annum\n",
"n=15.0;#in years\n",
"\n",
"#calculation\n",
"PW=P+A*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth for this bid in RS. \",round(PW,3)\n",
"\n",
"#bid 2\n",
"P=540000.0;#in Rs\n",
"A=28500.0;#in Rs\n",
"i=15.0;#in % per annum\n",
"n=15.0;#in years\n",
"\n",
"#calculation\n",
"PW=P+A*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth for this bid in RS. \",round(PW,3)\n",
"print \"The total present worth cost of bid 1 is less than that of bid 2. Hence bid 1 is to be selected for implementation. That is, the Elevator from Alpha Elevator Inc. is to be purchased and installed in the new building.\";"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth for this bid in RS. 607878.993\n",
"The present worth for this bid in RS. 706650.048\n",
"The total present worth cost of bid 1 is less than that of bid 2. Hence bid 1 is to be selected for implementation. That is, the Elevator from Alpha Elevator Inc. is to be purchased and installed in the new building.\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.3 Page 47"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"#investment proposal A\n",
"P1=-10000.0;#in Rs\n",
"P2=3000.0;#in Rs\n",
"P3=3000.0;#in Rs\n",
"P4=7000.0;#in Rs\n",
"P5=6000.0;#in Rs\n",
"i=18.0;#in % per annum\n",
"\n",
"#calculation\n",
"PW_A=P1+P2*1/((1+i/100)**1)+P3*1/((1+i/100)**2)+P4*1/((1+i/100)**3)+P5*1/((1+i/100)**4);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of A in RS. \",round(PW_A,3);\n",
"\n",
"#investment proposal B\n",
"P1=-10000.0;#in Rs\n",
"P2=6000.0;#in Rs\n",
"P3=6000.0;#in Rs\n",
"P4=3000.0;#in Rs\n",
"P5=3000.0;#in Rs\n",
"i=18.0;#in % per annum\n",
"\n",
"#calculation\n",
"PW_B=P1+P2*1/((1+i/100)**1)+P3*1/((1+i/100)**2)+P4*1/((1+i/100)**3)+P5*1/((1+i/100)**4);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of B in RS. \",round(PW_B,3);\n",
"print\"At i=18%, the present worth of proposal B is higher than that of proposal A. Therefore, select proposal B.\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth of A in RS. 2052.076\n",
"The present worth of B in RS. 2767.112\n",
"At i=18%, the present worth of proposal B is higher than that of proposal A. Therefore, select proposal B.\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.4 Page 48"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"P0=400000.0;#in Rs\n",
"P=200000.0;#in Rs\n",
"i=18.0;#in % per annum\n",
"n=10.0;#in years\n",
"\n",
"#calcualtion\n",
"PW=P0+P*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of alternative 2 in RS. \",round(PW,3);\n",
"print \"The present worth of 2nd alternative is less than that of first one i.e., complete downpayment of Rs. 1600000. Hence, select 2nd alternative.\";\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth of alternative 2 in RS. 1298817.259\n",
"The present worth of 2nd alternative is less than that of first one i.e., complete downpayment of Rs. 1600000. Hence, select 2nd alternative.\n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.5 Page 49"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"#plan 1\n",
"P0=-1000.0;#in Rs\n",
"P=12000.0;#in Rs\n",
"i=12.0;#in % per annum\n",
"n=15.0;#in years\n",
"\n",
"#calculation\n",
"PW1=P0+P*1/((1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of Plan-1 in RS. \",round(PW1,3);\n",
"\n",
"#plan 2\n",
"P0=-1000.0;#in Rs\n",
"P=4000.0;#in Rs\n",
"i=12.0;#in % per annum\n",
"n1=10.0;#in years\n",
"n2=15.0;#in years\n",
"\n",
"#calculation\n",
"PW2=P0+P*1/((1+i/100)**n1)++P*1/((1+i/100)**n2);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of Plan-2 in RS.\",round(PW2,3);\n",
"print \"The present worth of Plan-1 is more than that of Plan-1. Therefore plan 1 is the best plan from the investors point of view.\";"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth of Plan-1 in RS. 1192.355\n",
"The present worth of Plan-2 in RS. 1018.678\n",
"The present worth of Plan-1 is more than that of Plan-1. Therefore plan 1 is the best plan from the investors point of view.\n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.6,Page 50"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"#plan 1\n",
"P0=-10000.0;#in Rs\n",
"P=800000.0;#in Rs\n",
"i=12.0;#in % per annum\n",
"n=20.0;#in years\n",
"\n",
"#calcualtion\n",
"PW1=P0*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n)+P*1/((1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of Plan-1 in RS. \",round(PW1,3);\n",
"\n",
"#plan 2\n",
"P0=-10000.0;#in Rs\n",
"P=1500000.0;#in Rs\n",
"i=12.0;#in % per annum\n",
"n1=20.0;#in years\n",
"n2=25.0;#in years\n",
"\n",
"#calcualtion\n",
"PW2=P0*(((1+i/100)**n1)-1)/((i/100)*(1+i/100)**n1)+P*1/((1+i/100)**n2);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of Plan-2 in RS. \",round(PW2,3);\n",
"print \"The present worth of Innovative Investment Ltd. Plan is more than that of Novel Investment Ltd. Plan. Therefore Innovative Investment Ltd. Plan is the best plan from the investors point of view.\";\n",
"print \"answer is bit different due to approximation error\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth of Plan-1 in RS. 8238.976\n",
"The present worth of Plan-2 in RS. 13540.524\n",
"The present worth of Innovative Investment Ltd. Plan is more than that of Novel Investment Ltd. Plan. Therefore Innovative Investment Ltd. Plan is the best plan from the investors point of view.\n",
"answer is bit different due to approximation error\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 4.7 Page 50"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#initiation of variable\n",
"P=12000.0;#in Rs\n",
"A1=10000.0;#in Rs\n",
"G=1000.0;#in Rs\n",
"i=18.0;#in % per annum\n",
"n=10.0;#in years\n",
"\n",
"#calculation\n",
"PW=-P+(A1+G*(((1+i/100)**n)-i*n/100-1)/(((i/100)*(1+i/100)**n)-i/100))*(((1+i/100)**n)-1)/((i/100)*(1+i/100)**n);#in RS\n",
"\n",
"#result\n",
"print \"The present worth of the small business in RS. \",round(PW,3);"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The present worth of the small business in RS. 47293.316\n"
]
}
],
"prompt_number": 13
}
],
"metadata": {}
}
]
}
|