I have one question related to Matlab to solve Newton iteration (financial math)
ID: 3807834 • Letter: I
Question
I have one question related to Matlab to solve Newton iteration (financial math).
1.
2.
3.
4. (8 marks) In this question, consider a bond with the set of cashflows given in Table 1. Here, note that the face value F is already included in the last cashflow. Let y be the yield to maturity, t be the time of the i cashflow C, and PV 95 be the market price of the bond at t 0. Assume continuous compounding. Then by L1.46, y solves Table 1: Bond cashflows Cashflows (Ca Times 2.5 2.0 2.8 3.0 3.5 4.0 3,5 5.0 3.5 6.0 4.0 7.0 4.8 8.0 5.5 9.0 10.0 a. (1 marks) Write out the Newton iteration to compute ynti (see L2.46). Specifically, clearly indicate the functions f(y) and f (y). b. (7 marks) Implement the above Newton iteration in Matlab. Use the stopping criteria ynl 10 a. (1 marks) Write out the Newton eration to compute yn+ see L2.46 Specifically, clearly indicate the functions f(v) and f(y). b. (7 marks) Implement the above Newton iteration in Matlab. Use the stopping criteria lun +1- val 10-6. How do you choose a good value for yo? Fill in Table 2 Table 2: Output N/AExplanation / Answer
1.
2.