From Wikipedia, the free encyclopedia Sharp EL-5120
Sharp EL-5120
• : an interactive expression solver which can, in
theory, numerically solve any equation versus any
variable, using Newton’s method. It may however fail
to solve certain classes of equations depending on
the expression format and starting values of the
variables, so it is often necessary to rewrite the
expression or experiment with initial values.
• : Here the user can enter and execute short
programs written in a language closely resembling a
cut-down version of FORTRAN or BASIC. Programs
can be made to operate in either Real or NBase
mode, but not a mixture of both.
Main functions
• 3-line alphanumeric LCD display.
• Alphanumeric keyboard with and ALPHA keys.
• All the standard trigonometrical functions (SIN, COS,
TAN) as well as their inverse and hyperbolic
versions.
• All of the standard power raising, logarithmic etc.
functions
• Some functions like statistical operations and
boolean logic functions are accessed via sub-menus,
and thus they are not printed on any visible key.
• 28 global user variables ( through Z plus ANS and θ),
stored in CMOS memory.
• Up to 9 local variables for each mode of operation
and equation, solver or program file, with user
defined names. Unlike the 28 global ones, using these
local variables consumes user RAM.
• 1 and 2 variables statistics, has only a simple linear
regression analysis.
• File "saving", "loading" and "deleting" from the
A Sharp EL-5120 scientific calculator small user RAM. Each mode can store its own "files",
containing e.g. the last calculation or expression, a
The Sharp EL-5120 is a scientific programmable cal- solver equation or a program plus any eventual local
culator. It has about 1 KB of total RAM available to the variables and the last ANS value.
user, and has 4 basic operational modes: • Expression evaluator (in mode).
• mode: it is the basic operational mode for direcltly • Numerical integration using Simpson’s rule.
performing standard algebraic and statistical • Numerical equation solver vs a specific variable
calculations, as well as evaluating user-defined using Newton’s method.
functions and numerically integrating them. • Programs and solver equations can "exchange data"
• : can switch between Binary, Octal, Decimal and between them by appropriate use of the global
Hexadecimal base. Most functions from Real Mode variables, for solving more complex problems.
don’t work in this mode, but boolean operators for • Adjustable contrast.
each numerical base are available. Hexadecimal base • Uses one 3V CD2025 lithium battery.
calculation are performed in 32 bits (8 digits) and
there is support for signed operation, but Binary
base is limited to 16 bits, though.
1
From Wikipedia, the free encyclopedia Sharp EL-5120
Disadvantages D=B²-4AC
IF D<0 GOTO ERR
• Lack of built-in support for complex numbers (can X=(-B-sqrt(D))/(2A)
only be emulated via a program or equations). Y=(-B+sqrt(D))/(2A)
• Programs and equation files eat up RAM quickly, PRINT X
especially if they contain local variables. PRINT Y
• Integration/solver functions can be slow or erratic. GOTO E
• Only one kind of statistical regression (linear). LABEL ERR
• Lack of any built-in application formulae or physical PRINT D
constants, these have to be defined and saved by the LABEL E
user as expression and local variables, with a notable END
expense of RAM.
• Lack of some built-in functions like a simultaneous Calculate ICE current and VCE voltage for a BJT
linear equations system or second grade equations using the 4-resistor polarization method.
solver, thus forcing to implement them by
programming. Note: These local variables must be defined firs
• The programming language used consumes RAM too R1,R2,R3,R4,B0=gain ,V8=0.7 or 0.3 (base volta
quickly due to weak construction, lacking a proper -
like statement and thus forcing to use long and BTJ-4R:REAL
costly LABEL, GOTO and GOSUB statements.
INPUT R1
Sample programs INPUT R2
INPUT R3
Please note that the actual notation might be different, as INPUT R4
some special EL-5120 characters cannot be directly typed INBUT B0
on a PC, e.g. the square root and fraction operator: INPUT V
R=R1R2/(R1+R2)
Hello world: T=VR2/(R1+R2)
I=(T-V8)/(R+(B0+1)R4)
HELLO: REAL C=V-I(B0R3+(B0+1)R4)
LABEL 10 I=B0I
PRINT"HELLO WORLD PRINT I
GOTO 10 PRINT C
Solver of second grade equations:
GRADE2:REAL External links
INPUT A • The EL-5120 on Sharp’s website
INPUT B
INPUT C
Retrieved from "http://en.wikipedia.org/w/index.php?title=Sharp_EL-5120&oldid=457847875"
Categories:
• Programmable calculators
• Sharp Corporation calculators
This page was last modified on 28 October 2011 at 17:24. Text is available under the Creative Commons Attribution-
ShareAlike License; additional terms may apply. See Terms of use for details. Wikipedia® is a registered trademark of
the Wikimedia Foundation, Inc., a non-profit organization.Contact us
Privacy policy About Wikipedia Disclaimers
2