HP Forums

Full Version: (12C) THE LIMIT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Was reading this book called "Making Tracks Into Programming" and all programs
in this book is for the TI57 Programmable Calculator so I found this topic about

"The LIMIT" on page 9-12 interesting so I adapted this program to work
on the HP-12C for observation purpose.

Detail information: https://archive.org/details/Makingtracks...2/mode/2up

Program: [FIX] 9

R1 for Limit Point
R2 for Starting Point

Code:

01 RCL 2
02 RCL 1
03  -
04  .
05  5
06  x
07 RCL 1
08  +
09 STO 2
10 PSE
11 RCL 2
12 LN
13 RLC 2
14  1
15  -
16  รท
17 PSE
18 PSE
19 GTO 01

Example as shown in the book:
Set Limit to 1
Start from 4

1 [STO] 1
4 [STO] 2
[R/S] display x Value ..... f(x) Value ........... diverge to 1

Remark:
The program as shown in this book illustrated the use of the
"Subroutine" in this case the 12C doesn't have [GSB] function
so the way around is as shown in this program above but ususally
it is not the way around but straightforward approach. Smile

Gamo 10/2020
Reference URL's