loan_payment
Calculate fixed-rate amortizing loan payments and total interest. Provide principal, annual interest rate, loan term, and payment frequency.
Instructions
Calculates the payment and total interest for a standard fixed-rate amortizing loan
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Loan term in years | |
| principal | Yes | Amount borrowed | |
| paymentsPerYear | Yes | Number of payments per year, normally 12 | |
| annualRatePercent | Yes | Annual interest rate in percent units; use 6.5 for 6.5% |