ACTL1101 Lecture Notes - Lecture 10: Gzip, Xml, Nominal Interest Rate
Document Summary
# define the variables nper install. packages(optirum) also installing the dependencies (cid:528)data. table(cid:529), (cid:528)auc(cid:529), (cid:528)xml(cid:529) trying url "https://cran. rstudio. com/bin/macosx/el- capitan/contrib/3. 5/data. table_1. 11. 8. tgz" Content type "application/x-gzip" length 1692925 bytes (1. 6 mb) downloaded 1. 6 mb trying url "https://cran. rstudio. com/bin/macosx/el- capitan/contrib/3. 5/auc_0. 3. 0. tgz" Content type "application/x-gzip" length 45260 bytes (44 kb) downloaded 44 kb trying url "https://cran. rstudio. com/bin/macosx/el- capitan/contrib/3. 5/xml_3. 98-1. 16. tgz" Content type "application/x-gzip" length 2205795 bytes (2. 1 mb) downloaded 2. 1 mb trying url "https://cran. rstudio. com/bin/macosx/el- capitan/contrib/3. 5/optirum_0. 40. 1. tgz" Content type "application/x-gzip" length 121380 bytes (118 kb) downloaded 118 kb. In this question, we are supposed to learn to apply numerical optimisation tools in r. First i tired to use the fu(cid:374)(cid:272)tio(cid:374) (cid:858)u(cid:374)iroot(cid:859) we lear(cid:374)t last week, whi(cid:272)h is supposed to (cid:271)e useful when looking for roots for complex equations. As it could only find one root, an interval needs to be specified. Given the present value of the loan, the period and the monthly repayment, i went out with the following codes with an error message: