Using only the input data highlighted in green on the tab create a macro in Visual...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Using only the input data highlighted in green on the tab create a macro in Visual Basic for Applications (VBA) that uses a For Next loop to calculate the Price (at time 0) of a semi-annual coupon paying bond with the following set of semi-annual cash flows. To receive full credit for this question you must keep the data structure/locations (in green) as given to you in the Excel template. Six Month YTM Time Period 1 IN 3 st in 197 2 4 3 $ 5 7 86555GEERE 600 9 6 $ 10 11 12 13 14 15 16 17 18 $ 19 20 $ $ $ $ $ $ $ 25.00 25.00 25.00 25.00 25.00 25.00 25.00 25.00 $ 25.00 25.00 25.00 $ $ $ $ $ Cash Flow $ 25.00 25.00 25.00 25.00 25.00 25.00 25.00 25.00 $ 1,025.00 2.2500% Now suppose that there are 184 days in the upcoming six month coupon period. What will be the clean price of the bond 87 days from now? Answer this question by creating a macro in Visual Basic for Applications using only the data highlighted in green below provided on the tab and the price of the bond (at time 0) that you calculated in Problem (in yellow): above Days in Coupon Period # of days in future Price = Six Month YTM Time Period 1 $ Cash Flow 25.00 184 87 2.2500% Using only the input data highlighted in green on the tab create a macro in Visual Basic for Applications (VBA) that uses a For Next loop to calculate the Price (at time 0) of a semi-annual coupon paying bond with the following set of semi-annual cash flows. To receive full credit for this question you must keep the data structure/locations (in green) as given to you in the Excel template. Six Month YTM Time Period 1 IN 3 st in 197 2 4 3 $ 5 7 86555GEERE 600 9 6 $ 10 11 12 13 14 15 16 17 18 $ 19 20 $ $ $ $ $ $ $ 25.00 25.00 25.00 25.00 25.00 25.00 25.00 25.00 $ 25.00 25.00 25.00 $ $ $ $ $ Cash Flow $ 25.00 25.00 25.00 25.00 25.00 25.00 25.00 25.00 $ 1,025.00 2.2500% Now suppose that there are 184 days in the upcoming six month coupon period. What will be the clean price of the bond 87 days from now? Answer this question by creating a macro in Visual Basic for Applications using only the data highlighted in green below provided on the tab and the price of the bond (at time 0) that you calculated in Problem (in yellow): above Days in Coupon Period # of days in future Price = Six Month YTM Time Period 1 $ Cash Flow 25.00 184 87 2.2500%
Expert Answer:
Answer rating: 100% (QA)
VBA Macro for Bond Price Calculation vba Sub CalculateBondPrice Declare variables Dim ytm As Double ... View the full answer
Related Book For
Analytics Data Science And Artificial Intelligence Systems For Decision Support
ISBN: 9781292341552
11th Global Edition
Authors: Ramesh Sharda, Dursun Delen, Efraim Turban
Posted Date:
Students also viewed these finance questions
-
For the Dupit Corp. case study introduced in Section 11.4, the management science team was able to apply a variety of queueing models by making the following simplifying approximation. Except for the...
-
Arbitration, mediation, reference to a third person , an association tribunal, summary jury trial, rent-a-judge, minitrials and judicial triage, are all forms of what is known as?
-
Give the order of magnitude () for the following algorithm. Explain why your answer is correct. GET VALUES for A1, A2, ..., An, and B, B2, ..., Ba Get value of n /* set i equal to 1 */ /* for each of...
-
What is the concept and importance of the issue explained in the Merck & Co. Story in the textbook Business, Government, and Society 13th edition by steiner and steiner.
-
a solid culindral is subjected to torque of 2 8 6 4 7 . 8 Nm 1 . if the shear stress is not to exceed 8 0 N / mm ? Find it diameter 2 . What percent saving in weight would be obtained if this shaft...
-
As in Example 2.1, camera recycle times might use the sample space \(S=R^{+}\), the set of positive real numbers. Let \[ E_{1}=\{x \mid 10 \leq x <12\} \quad \text { and } \quad E_{2}=\{x \mid 11 0\}...
-
Target Corporation prepares its financial statements according to U.S. GAAP. Target's financial statements and disclosure notes for the year ended January 30, 2016, are available in Connect. This...
-
The trial balance for a company listed the following account balances at December 31, Year 1, the end of its fiscal year: cash, $36,000; accounts receivable. $31,000; Inventory, $45,000; equipment...
-
You are to develop a simple Binary Search Tree ADT and run it against a test program. Avoid the temptation of finding code online. I am aware of all the available solutions and will be looking...
-
The team of Sheldon, Leonard, Howard, and Raj are participating in a Kayak competition. Their entire team should cross a river in 34 minutes or less to win. There are only two Kayak's available, each...
-
Identify one contingency theory of leadership that you feel has greatest practical signifcance, and comment on its features.
-
In what way does a team differ from a group?
-
Consider the factors that one ought to consider when examining career choice.
-
Reflect on the criticisms of organizational culture.
-
What do you understand by upward and lateral leadership?
-
The manager of a movie theatre finds that she will sell all 800 tickets to the Friday evening movie if the charge for admission is $4 per person. For each $1 increase in admission price she expects...
-
Find a least expensive route, in monthly lease charges, between the pairs of computer centers in Exercise 11 using the lease charges given in Figure 2. a) Boston and Los Angeles b) New York and San...
-
List and briefly define the characteristics of different deep learning frameworks.
-
There has been much focus on job protection through tariffs and trade negotiation recently. Discuss how and why this focus may or may not address the job changes coming due to robotics and AI...
-
What types of problems are solved with Kohonen SOM ANN architecture?
-
How does the firms WACC (with taxes) change with leverage?
-
Assume that Microsoft has no debt, a total market value of $2 trillion, and a marginal tax rate of 21%. If it permanently changes its leverage from no debt by taking on new debt in the amount of 13%...
-
In your view does transport add value in the supply chain?
Study smarter with the SolutionInn App