Finance
SimpleCashFlow
construct a cash flow at a given date
Calling Sequence
Parameters
Description
Examples
Compatibility
SimpleCashFlow(amount, date)
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
The SimpleCashFlow command constructs a simple cash flow at a given date.
with⁡Finance:
SetEvaluationDate⁡January 01, 2000:
EvaluationDate⁡
January 1, 2000
date≔Jan-01-2006
cashflow1≔SimpleCashFlow⁡100,date
cashflow1≔100. on January 1, 2006
NetPresentValue⁡cashflow1,0.03
83.52702114
cashflow2≔SimpleCashFlow⁡−100,date
cashflow2≔-100. on January 1, 2006
NetPresentValue⁡cashflow2,0.03
−83.52702114
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
NetPresentValue⁡cflows,0.03
327.9371480
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]
Download Help Document