Question: Solve it in RStudio code please. Question 1. Suppose you have a loan of 1,000 euro. This is subject to an annual interest rate of

Solve it in RStudio code please.

Question 1. Suppose you have a loan of 1,000 euro. This is subject to an annual interest rate of 11%, compounded monthly. (This means a debt of d is d(1 + 0.11/12) after a month). You make monthly repayments of 12 euro. Use a while loop to aid you with the following questions:

a) How long does it take to clear the debt (in months)?

b) Draw a plot showing the amount owed every month.

c) How much total interest is paid in the end?

The correct answer is: Total Months = 159 and Interest Paid = 908 euros, BUT I NEED THE SCRIPT.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!