Question
Please solve on octave!!!! Q.3 When calculating the payment of a mortgage, the relationship between the loan amount, Loan, the montiny payment, MPay, the duration
Please solve on octave!!!! Q.3 When calculating the payment of a mortgage, the relationship between the loan amount, Loan, the montiny payment, MPay, the duration of the loan in months, Months, and the annual interest rate, Rate, is given by the equation (annuity equation): MPay= 12(1 (1+ 14 H ) 1/ax 1 ) Loan Rate Determine the rate of a 10 years, $500,000 loan if the monthly payment is $1662.57. (a) Use one open method and one bracketed method to solve this equation, upload script and write answer in a word file. Keep the global tolerance same for both methods. (b) Compare the iterations, tolerance and solution convergence for these two methods using graphs. Use semilogy function to plot tolerance. (b) What is the time taken by the seript to solve this problem ? How many iterations were required? Compare time with MarLaB's built-in funciton fzero
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started