SimpleCashFlow - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Finance

  

SimpleCashFlow

  

construct a cash flow at a given date

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

SimpleCashFlow(amount, date)

Parameters

amount

-

real constant; amount of cash flow

date

-

a string containing a date specification in a format recognized by ParseDate or a date data structure; date of cash flow

Description

• 

The SimpleCashFlow command constructs a simple cash flow at a given date.

Examples

> 

with⁡Finance:

> 

SetEvaluationDate⁡January 01, 2000:

> 

EvaluationDate⁡

January 1, 2000

(1)
> 

date≔Jan-01-2006

date≔Jan-01-2006

(2)
> 

cashflow1≔SimpleCashFlow⁡100,date

cashflow1≔100. on January 1, 2006

(3)
> 

NetPresentValue⁡cashflow1,0.03

83.52702114

(4)
> 

cashflow2≔SimpleCashFlow⁡−100,date

cashflow2≔-100. on January 1, 2006

(5)
> 

NetPresentValue⁡cashflow2,0.03

−83.52702114

(6)
> 

cflows≔seq⁡SimpleCashFlow⁡100,AdvanceDate⁡date,3⁢i,Months,i=1..4

cflows≔100. on Apr-01-2006,100. on Jul-01-2006,100. on Oct-01-2006,100. on Jan-01-2007

(7)
> 

NetPresentValue⁡cflows,0.03

327.9371480

(8)

Compatibility

• 

The Finance[SimpleCashFlow] command was introduced in Maple 15.

• 

For more information on Maple 15 changes, see Updates in Maple 15.

See Also

Finance[CompoundFactor]

Finance[DiscountFactor]

Finance[FixedCouponBond]

Finance[FixedRateCoupon]

Finance[FloatingRateBond]

Finance[InArrearIndexedCoupon]

Finance[NetPresentValue]

Finance[ParCoupon]

Finance[ParseDate]

Finance[UpFrontIndexedCoupon]

Finance[ZeroCouponBond]

Finance[ZeroCurve]