Education Technology

Explorations with Coding: Paying off a Loan

by Texas Instruments


  • Use the input function and a variable to collect and store data from a user
  • Use lists to store data
  • Use a while loop to repeat interest and loan payments until the loan is paid off
  • Export lists to the native TI system 
  • Use linear, piecewise, step and recursive functions to model data

About the Lesson

In this lesson, students will create a program to calculate the time it takes to pay off a loan.  The program will use lists to track the months, amount paid and balance.  Students will import theses lists to the graphs page.  Finally, they will fit linear, piecewise, step and recursive function to model the data.

Note: This lesson requires the use of TI-Nspire™ CX II technology with OS 5.2 and above.