Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is the formula for the present value of an annuity. We can find R , given P , n and i as R =

This is the formula for the present value of an annuity. We can find R, given P , n and i
as
R=Pi.1(1+i)n
In R, we define variables as follows: principal to hold the value of P , and intRate to hold the interest rate, and n to hold the number of payments. We will assign the resulting payment value to an object called payment.
Of course, we need some numerical values to work with, so we will suppose that the loan amount is $1500, the interest rate is 1% and the number of payments is 10. The required code is then
intRate <-0.01
n <-10
principal <-1500
payment <- principal * intRate /(1-(1+ intRate)(-n))
payment
## [1]158.3731
For this particular loan, the monthly payments are $158.37.
1
In each question below, write out (or type) the required lines of R code, together with the answer to the question.
1. Calculate the monthly payment required for a loan of $200,000, at a monthly interest rate of 0.003, based on 300 monthly payments, starting in one months time.
2. Calculate the sum \Sigma from n to j=1 of j and compare with n(n +1)/2, for n =100,200,400,800.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2022 Workshops 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 In Computer And Information Science 33

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Alfred Taudes ,Atif Mashkoor ,Johannes Sametinger ,Jorge Martinez-Gil ,Florian Sobieczky ,Lukas Fischer ,Rudolf Ramler ,Maqbool Khan ,Gerald Czech

1st Edition

3031143426, 978-3031143427

More Books

Students also viewed these Databases questions