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.
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.
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter4: Making Decisions
Section: Chapter Questions
Problem 16RQ
Related questions
Question
Solve fast, I will give u like. M
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 3 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage