Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Constructing and Analyzing Cash Flows Using the Finance Package
Overview
The Financial Modeling package provides a number of tools for constructing cash flows and for performing basic sensitivity analysis. Here is the list of related commands.
BasisPointSensitivity
-
calculate the basis point sensitivity of future cash flows
CashFlows
return the set of cash flows for a bond or a swap
Convexity
calculate the convexity of a set of cash flows
Duration
calculate the duration of a set of cash flows
FixedRateCoupon
construct a fixed-rate coupon on a term structure
InArrearIndexedCoupon
construct an in-arrear indexed coupon
InternalRateOfReturn
calculate the internal rate of return of a set of cash flows or a bond
ParCoupon
construct a coupon at par on a term structure
SimpleCashFlow
construct a simple cash flow at a given date
NetPresentValue
return the net present value of future cash flows
UpFrontIndexedCoupon
construct an up-front indexed coupon on a term structure
Constructing Cash Flows
First construct a simple cash flow that pays 100 on the first business day three months from now. Set the global evaluation date to November 17, 2006.
Every cash flow is represented by a module with two exports: amount and date. The first one holds the amount to be paid. The second one holds the payment date.
You can calculate the net present value of this cash flow using any given discount rate.
This is the value of our cash flow on November 17, 2006, which is the global evaluation date. You can use different dates by using appropriate term structures or by specifying the reference date explicitly.
You can also construct cash flows that represent fixed- and floating-rate coupon payments.
Next construct a floating-rate coupon payment.
Performing Sensitivity Analysis
Consider the set of cash flows defined previously.
You can calculate the convexity of our set of cash flows using the 5% and the 4% rate.
Another sensitivity measure is the basis point sensitivity.
You can also compute 3 different types of duration at different market prices.
You can use the internal rate of return of your set of cash flows to compute the Macaulay duration.
See Also
Calendars worksheet, Term Structures worksheet, Stochastic Processes worksheet, Day Counters worksheet, Lattice Methods worksheet
Download Help Document