HP HP12C hp 12c_user's guide_English_E_HDPMBF12E44.pdf - Page 187

Discounted Cash Flow Analysis, Calendar

Page 187 highlights

Appendix D: Formulas Used 187 Discounted Cash Flow Analysis Net Present Value NPV = net present value of a discounted cash flow. CFj = cash flow at period j. NPV = CF0 + CF1 (1+ i)1 + CF2 (1+ i)2 + ... + CFn (1+ i)n Internal Rate of Return n = number of cash flows CFj = cash flow at period j. IRR = Internal Rate of Return 0 = k ∑ CFj j =1 ⋅ ⎢⎡1− ⎢⎣ (1+ IRR)−nj IRR ⋅ ⎢⎡(1+ ⎣ − ∑ nq IRR) q 2 x = INTG (0.4mm + 2.3) z = (yyyy) INTG = Integer portion. Note: Additional tests are performed in order to ensure that the century (but not millennium) years are not considered leap years. 30/360 Day Basis DAYS = f(DT2) - f(DT1) f(DT) = 360 (yyyy) + 30mm + z for f(DT1) if dd1 = 31 then z = 30 if dd1 ≠ 31 then z = dd1 for f(DT2) if dd2 = 31 and dd1 = 30 or 31 then z = 30 if dd2 = 31 and dd1 < 30 then z = dd2 if dd2 < 31 then z = dd2 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 187 of 209 Dimension: 14.8 cm x 21 cm

  • 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

Appendix D: Formulas Used
187
File name: hp 12c_user's guide_English_HDPMBF12E44
Page: 187 of 209
Printered Date: 2005/7/29
Dimension: 14.8 cm x 21 cm
Discounted Cash Flow Analysis
Net Present Value
NPV
= net present value of a discounted cash flow.
CF
j
= cash flow at period
j
.
n
n
i
CF
i
CF
i
CF
CF
NPV
)
1
(
...
)
1
(
)
1
(
2
2
1
1
0
+
+
+
+
+
+
+
=
Internal Rate of Return
n
= number of cash flows
CF
j
= cash flow at period
j
.
IRR
= Internal Rate of Return
0
1
)
1
(
)
1
(
1
0
CF
IRR
IRR
IRR
CF
j
q
j
nq
k
j
n
j
+
+
+
=
=
<
Calendar
Actual Day Basis
DYS = f(
DT
2
) – f(
DT
1
)
where
f(
DT
) = 365 (
yyyy
) + 31 (
mm
– 1) +
dd
+ INTG (
z
/4) –
x
and
for
mm
2
x
= 0
z
= (
yyyy
) – 1
for
mm
> 2
x
= INTG (0.4
mm
+ 2.3)
z
= (
yyyy
)
INTG = Integer portion.
Note:
Additional tests are performed in order to ensure that the century (but
not millennium) years are not considered leap years.
30/360 Day Basis
DAYS
= f(
DT
2
) – f(
DT
1
)
f(
DT
) = 360 (
yyyy
) + 30
mm
+
z
for f(
DT
1
)
if
dd
1
= 31 then
z
= 30
if
dd
1
31 then
z
=
dd
1
for f(
DT
2
)
if
dd
2
= 31 and
dd
1
= 30 or 31 then
z
= 30
if
dd
2
= 31 and
dd
1
< 30 then
z
=
dd
2
if
dd
2
< 31 then
z
=
dd
2