I. 정의 및 기본식
1.
npv( (net present value) is the sum of the present values for the cash inflows and
outflows. A positive result for npv indicates a profitable investment.
기본식
npv(interest rate,CF0,CFList[,CFFreq])
2.
irr( (internal rate of return) is the interest rate at which the net present value of the cash
flows is equal to zero.
기본식
irr(CF0,CFList[,CFFreq])
II. 인자 설명
CF0 : 초기 현금흐름, 이자율에 영향을 받지 않는 금액
CFList : CF0 이후 매기의 현금흐름으로, LIST 형식 {} 또는 L₁등으로 입력해야 한다.
CFFreq : CFList 의 각 요소순서별 빈도, 비워둘 경우 1,1,1,.... 가 입력된다고 가정
III. 예시(NPV)
|
매기 현금흐름 (이자율 6% 가정) |
|
|
-1000, -100, -50, 0, 200, 300, 300, 500 |
npv(6,-1000,{-100,-50,0,200,300,300,500}) = -23.547... |
|
-1000, 100, 200, 300, 400, 500 |
npv(6,-1000,{100,200,300,400,500} = 214.691... |
| -1000, 300, 300, 300, 300 |
npv(6,-1000,{300,300,300,300} = npv(6,-1000,{300},{4}) = 39.531... |
|
-1000, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200, 0, 200 |
npv(6,-1000,{200,0,200,0,200,0,200,0,200,0,200,0,200} = -43.428... 더 쉬운 방법은 없나?? = npv(6,-1000, 200*seq(cos²x, x, 0, 6π, π/2) = npv(6,-1000, 200*seq(0≠remainder(x,2),x,1,13) = npv(6,-1000, 200*seq(0=remainder(x,2),x,0,12) 더 어렵나? |
IV. 팁
마지막 } 또는 ) 는 생략 가능하다.
현금흐름이 복잡할 때는 리스트 L₁등을 이용하자.