--- title: "Simple Amortization" id: 80692 type: "computer_media" slug: "simple-amortization" url: "http://localhost/computer_media/simple-amortization/" markdown_url: "http://localhost/computer_media/simple-amortization.md" published_at: "2026-11-26T15:24:20+00:00" modified_at: "2026-11-26T15:24:20+00:00" featured_image: url: "http://localhost/wp-content/uploads/2026/11/simple-amortization-1.png" excerpt: "Monthly mortgage payment and total interest, on the TS2068." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "R. E. Gerow" slug: "r-e-gerow" taxonomy: "indiv" url: "http://localhost/indiv/r-e-gerow/" genre: - name: "Finance" slug: "finance" taxonomy: "genre" url: "http://localhost/type/finance/" media_type: "Program" programmers: - name: "R. E. Gerow" slug: "r-e-gerow" taxonomy: "indiv" url: "http://localhost/indiv/r-e-gerow/" download_url: "https://archive.org/download/timex-sinclair-software-archive/Simple%20Amortization%20%281990%29%28Gerow%2C%20R.%20E.%29%28TS2068%29%28US%29%28Program%29.zip" tsrun_member: "Simple Amortization (1990)(Gerow, R. E.)(TS2068)(US)(Program)/Simple Amortization (1990)(Gerow, R. E.)(TS2068)(US)(Program).tap" mediadate: "1990" images: - url: "http://localhost/wp-content/uploads/2026/11/simple-amortization-1.png" - url: "http://localhost/wp-content/uploads/2026/11/simple-amortization-2.png" - url: "http://localhost/wp-content/uploads/2026/11/simple-amortization-3.png" - url: "http://localhost/wp-content/uploads/2026/11/simple-amortization-4.png" article_media: - id: 45506 title: "Simple Amortization" type: "article" url: "http://localhost/article/simple-amortization/" media_type_tags: "Finance" license: false --- # Simple Amortization Works out the monthly payment on a mortgage or loan, rounded to the nearest dollar, and the total interest paid. Enter the principal, the yearly interest rate in percent and the length in years. Press a key, then N (or any key but Y) for another loan. Lines 9993 and 9999 call the Larken disk system (RANDOMIZE USR 100), the second to save the program to disk. On a stock TS2068, answering Y to FINISHED? resets the computer, which clears the program as the NEW in that line would. Principal and is are spelled PRINCEPAL and 1S on the screen, as printed. Published in The Plotter June 1990 ([Simple Amortization](https://timexsinclair.com/article/simple-amortization/)). ## Source Code ``` 5 CLS 10 PRINT "PRINCEPAL IN $?": INPUT A 15 PRINT "$";A 20 PRINT "% INTEREST?": INPUT II 25 PRINT II;"%" 26 LET I=II/100 30 PRINT "LENGTH IN YEARS?": INPUT Y 35 PRINT Y 40 LET P=A*I/12/(1-(1+I/12)^-(12*Y)) 50 PRINT "MONTHLY PAYMENT 1S ";: PRINT "$";INT (P+.5);".00" 60 LET PP=P*Y*12-A 70 PRINT "TOTAL INTEREST PAID ";: PRINT "$";INT ((PP+.005)*100)/100 75 PRINT 80 PRINT "MONTHLY PAYMENT rounded to the nearest dollar figure" 9900 PAUSE 0: CLS 9920 PRINT "FINISHED? Y/N" 9930 PAUSE 0: IF INKEY$="N" OR INKEY$="n" THEN CLS : GO TO 9991 9940 IF INKEY$="Y" OR INKEY$="y" THEN GO TO 9993 9991 GO TO 5 9993 RANDOMIZE USR 100: NEW 9999 RANDOMIZE USR 100: SAVE "AMOR.B1" LINE 5 ```