present value of a list of cash flows - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Finance : Personal Finance : Finance/cashflows

Finance[cashflows] - present value of a list of cash flows

Calling Sequence

cashflows(flows, rate)

Parameters

flows

-

list of cash flows, one per period, starting at period = 1

rate

-

interest rate per period

Description

• 

The function cashflows computes the present value of a list of cash flows. The flows are given one per period, starting at period 1.

• 

Since cashflows used to be part of the (now deprecated) finance package, for compatibility with older worksheets, this command can also be called using finance[cashflows]. However, it is recommended that you use the superseding package name, Finance, instead: Finance[cashflows].

Examples

I will receive 100 units, 200 units and 50 units at the end of this year, and at the end of the next 2 years. If the discount rate is 10%, this is equivalent to receiving immediately the amount of:

withfinance:

cashflows100,200,50,0.1

293.7640872

(1)

If these cash flows are generated from an initial investment of 95 units, the net present value is

95+cashflows100,200,50,0.1

198.7640872

(2)

Since the net present value (npv) is positive, the project would be accepted on that basis.

What is the internal rate of return?

npv:=95+cashflows100,200,50,r

npv:=95+100r+1+200r+12+50r+13

(3)

fsolvenpv=0,r,0..2

1.147236683

(4)

The internal return is 115%. Since this is bigger than the discount rate the project would be also be accepted on the IRR basis. One can see the npv versus rate by plotting

plotnpv,r=0..2

It is prudent to do this plotting, since it is possible to have multiple solutions to the IRR relationship (npv=0).

See Also

Finance, Finance[CashFlowAnalysis], Finance[CashFlows], Finance[presentvalue]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam