interestpaym
Calculates the interest part in an annual payment for a loan based on the constant interest rate. Depending on input, function can return scalar, vector or matrix
Arguments
- Number of payments
- Payment for which we need to calculate interest
- Interest rate per period of return
- Value of loan
Output
Interest payment
Examples