Sharp EL-5200/EL-9000 AER II Program Collection – September 2026
For my review on the Sharp EL-5200 (also known as the Sharp EL-9000), check out this blog entry from 2024: https://edspi31415.blogspot.com/2024/04/spotlight-sharp-el-5200.html
The AER programming on Sharp is very unusual.
* Angle mode has to be set manually through the [ 2ndF ] [ FSE ] (DRG) key sequence.
* Similarly, the decimal settings have be set manually through the [ 2ndF ] [ FSE ] key sequence and setting number of decimal places through tab.
* In AER II, there are really only two ways to display messages. First, through the program title when cycling through the programs with the [ PRO ] key. Second by setting a result variable such as area=2×π×r². The display will show “area= (next line) result”.
Graphing Commands
Setting the graphing range:
RANGE xmin, xmax, xstep, ymin, ymax, ystep
Clearing the graph:
G.CL ([2ndF] [ ← ])
Plotting a point:
PLOT x, y
This may include expressions, the point must be in the graph area or an Error 2 occurs.
Drawing a line:
LINE x1, y1, x2, y2
The entire line must fine the graph area or an Error 2 occurs.
Plotting a function:
GRAPH f(X)
Auto Sizing the window (Y-range only):
AUTO
Placed before the DRAW command.
Draw and show the graph screen:
DRAW
Finally, how are loops done?
* Loops are only available on the main portion of the program, and not in the subroutines. I found this out the hard way.
* Use the Y (Yes) and N (No) results to enable the loop.
* There are only four comparisons: =, >, >=, and ≠
A sample syntax:
↳ (loop commands) (comparison) – Y ⇒ [ do if true ↰ ]
↳ (loop commands) (comparison) – N ⇒ [ do if false ↰ ]
All programs today are in AER II mode. Spaces are provided for readability.
Sharp EL-5200: Random Integers
Title: random integers
M: low=? high=? num=?
↳ num>0 -Y→[ INT (RND ×(high-low))+low,
num=num-1 ↰]
Keep on pressing [COMP] until a zero comes up, which signals the end of the list. (This assumes that low and high are both positive numbers.)
Example:
low=15, high=95, num=5
ans=41, 64, 78, 69, 17, 0
Sharp EL-5200: Work Sample Size, 95% Confidence
size = z² ÷ (%acc ÷ 100)² × (1 - #occ ÷ #obs) ÷ #obs × #occ
z: normal distribution value that indicates confidence level; for a 95% interval, z ≈ 1.9599
%acc: desired percent accuracy
#occ: number of occurrences (i.e. idle employees, targets not met, hours missed, etc.) in the preliminary sample
#obs: number of observances in the preliminary sample
Title: work sample size, with 95 percent confidence
M: size = 1.9599² ÷ (occ ÷ 100)² × (1 – occ ÷ obs) ÷ occ × obs ␣
size = INT size + 1,
rat = occ ÷ obs
The size is rounded up to the nearest integer.
rat: ratio of occurrences to observances
Examples:
Example 1:
acc: 10%, occ: 3, obs: 20.
Result: size: 2177, ratio: 0.15
Example 2:
acc: 5%, occ: 2, obs: 108
Result: size: 81,434, ratio: 0.018518519
Source:
Hewlett Packard. “Business Finance and Accounting: Step-by-Step Solutions for Your HP-17B, HP-19B, or HP-27S Calculator”. HP Part No. 00017-90020. Printed in Canada. Edition 3. Corvallis, OR. September 1991. pp. 97-98
Sharp EL-5200: Eigenvalue of a 2 x 2 Matrix
This calculates the eigenvalues of a 2 x 2 matrix, [ [ a, b ] [ c, d ] ] by the following sequence:
m = (a + d) ÷ 2
p = a * d – b * c
Eigenvalues
λ = m ± √(m² – p)
Title: eigen of [[a,b][c,d]] (real)
M: a=? b=? c=? d=?
m=(a+d)÷2 ␣
p=a×d-b×c ␣
m+√(m²-p),
m-√(m²-p)
Example:
[ [10, 8], [3, 6] ]
a=10, b=8, c=3, d=6
Result: 13.29150262, 2.708497378
Source:
3Blue1Brown. “A quick trick for computing eigenvalues | Chapter 15, Essence of linear algebra” YouTube video, posted May 7, 2021. https://www.youtube.com/watch?v=e50Bj7jn9IQ
The next three programs deal with graphics.
Sharp EL-5200: Graphing a Sine Wave
Graph of y = A × sin(B × x + C) given A, B, C. Angles are set to be in radians.
Title: graph A×sin(Bx+C). Set radians mode.
M: A=? B=? C=?
GRAPH A×SIN (B×X+C) AUTO DRAW
Sharp EL-5200: Graphing a Line
Draw a line between (a,b) and (c,d). The program determines the window by determining the maximum and minimum for two numbers:
max(x,y) = (x + y + abs(x – y)) ÷ 2
min(x,y) = (x + y – abs(x – y)) ÷ 2
The distance is displayed.
Title: draw a line between (a,b) and (c,d)
M: a=? b=? c=? d-?
dist=√((c-a)² + (d-b)²),
max=(a+c+ABS(a-c))÷2 ␣
mix=(a+c-ABS(a-c))÷2 ␣
may=(b+d+ABS(b-d))÷2 ␣
miy=(b+d-ABS(b-d))÷2 ␣
RANGE mix-1, max+1, 1, miy-1, may+1, 1 ␣
LINE a, b, c, d DRAW
Sharp EL-5200: Graphing a Rose
This program graphs the rose:
r = cos(5 * Θ) for 0 ≤ Θ ≤ π
Title: graph a rose, set rad mode
M: G.CL ␣ a=0 ␣
RANGE -1.2, 1.2, 0.2, -1.2, 1.2, 0.2 ␣
↳PLOT COS(5×a)×COS a, COS(5×a)×SIN a
DRAW a=a+π÷128 ␣
a>π – N → [ ↰ ]
Eddie
All original content copyright, © 2011-2026. Edward Shore. Unauthorized use and/or unauthorized distribution for commercial purposes without express and written permission from the author is strictly prohibited. This blog entry may be distributed for noncommercial purposes, provided that full credit is given to the author.
