Function to Plot the relationship between price and maturity of a bond.
The user inputs are as follows:
Coupon rate (per cent p.a.)
Discount rate (or yield) p.a.
Moving the slider increases/decreases the values of the above two inputs.
Coupon frequency: chosen amongst quarterly, semi-annual and annual.
A Plot of the reltionship between price and maturity of a bond.
S Subramanian <firstname.lastname@example.org>
John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.