Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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