HP-42S
Template:Short description Template:DMCA
Page Module:Infobox/styles.css has no content.
| Lua error in package.lua at line 80: module 'Module:InfoboxImage/data' not found. HP-42S | |
| Type | Programmable scientific |
|---|---|
| Manufacturer | Hewlett-Packard |
| Introduced | 1988 |
| Discontinued | 1995 |
| Calculator | |
| Entry mode | RPN |
| Precision | 12 display digits (15 digits internally), exponent ±499 |
| Display type | LCD dot-matrix |
| Display size | 2 lines, 22 characters, 131×16 pixels |
| CPU | |
| Processor | Saturn (Lewis) |
| Programming | |
| Programming language(s) | RPN key stroke (fully merged) |
| Firmware memory | 64 KB of ROM |
| Program steps | 7200 |
| Interfaces | |
| Ports | IR (Infrared) printing |
| Other | |
| Power supply | 3×1.5 V button cell batteries (Panasonic LR44, Duracell PX76A/675A or Energizer 357/303) |
| Weight | 6 oz (170 g) |
| Dimensions | 148×80×15 mm |
The HP-42S RPN Scientific is a programmable RPN Scientific hand held calculator introduced by Hewlett-Packard in 1988. It is a popular calculator designed for science and engineering students.
Overview
Perhaps the HP-42S was to be released as a replacement for the aging HP-41 series as it is designed to be compatible with all programs written for the HP-41. Since it lacked expandability, and lacked any real I/O ability, both key features of the HP-41 series, it was marketed as an HP-15C replacement.
The 42S, however, has a much smaller form factor than the 41, and features many more built-in functions, such as a matrix editor, complex number support, an equation solver, user-defined menus, and basic graphing capabilities (the 42S can draw graphs only by programs). Additionally, it features a two-line dot matrix display, which made stack manipulation easier to understand.
Production of the 42S ended in 1995.[1]
Specifications
- Series: Pioneer
- Code Name: Davinci
- Introduction: 1988-10-31
- 64 KB of ROM
- 8 KB of RAM
- Functions: Over 350
- Expandability: Officially no other than IR printing (32 KB memory upgrade[2] and over-clocking hardware[3] hacks are possible)
- Peripherals: HP 82240A infrared printer
Features
- All basic scientific functions (including hyperbolic functions)
- Statistics (including curve fitting and forecasting)
- Probability (including factorial, random numbers and Gamma function)
- Equation solver (root finder) that can solve for any variable in an equation
- Numerical integration for calculating definite integrals
- Matrix operations (including a matrix editor, dot product, cross product and solver for simultaneous linear equations)
- Complex numbers (including polar coordinates representation)
- Vector functions
- Named variables, registers and binary flags
- Graphic display with graphics functions and adjustable contrast
- Menus with submenus and mode settings (also custom programmable) that use the bottom line of the display to label the top row of keys
- Sound (piezoelectric beeper)
- Base conversion, integer arithmetic and binary and logic manipulation of numbers in binary, octal, decimal and hexadecimal systems
- Catalogs for reviewing and using items stored in memory
- Programmability (keystroke programming with branching, loops, tests and flags)
- The ability to run programs written for the HP-41C series of calculators
Programming
Script error: No such module "Labelled list hatnote".
The HP-42S is keystroke-programmable, meaning that it can remember and later execute sequences of keystrokes to solve particular problems of interest to the user. The HP-42S uses a superset of the HP-41CX FOCAL language.
All programs are stored in one continuous program space, and may be created and edited by switching to programming mode, using the Script error: No such module "key". key. Subroutines are enclosed in Script error: No such module "key"./Label (name of subroutine) and Script error: No such module "key"./Return (halts execution unless it is in a subroutine in which case it returns to the caller). Keystrokes (of functions) are enclosed between Script error: No such module "key". and Script error: No such module "key". or Script error: No such module "key"..
In a running program, a Script error: No such module "key". label causes program execution to branch to the specified label and continue running at that line. Executing a GTO instruction from the keyboard moves the program pointer to the corresponding label. No program lines are executed.
Script error: No such module "key". is used in much the same way with one important difference: after an Script error: No such module "key". instruction has transferred execution to the specified label, the next RTN (return) or END instruction causes the program to branch back to the instruction that immediately follows the XEQ instruction. Programs/Subroutines can also be executed with the help Script error: No such module "key". label (Execute) key. The important difference between the Script error: No such module "key". and Script error: No such module "key". is that Script error: No such module "key". executes the label and returns to previous subroutine and continues execution from the line following Script error: No such module "key".,whereas Script error: No such module "key". branches to the label specified and doesn't return.
Script error: No such module "key".Script error: No such module "key".Script error: No such module "key". packs the current subroutines and moves to new program space.Script error: No such module "key".Script error: No such module "key".nnnn can be used to reach a particular line of program.
Programming examples
A simple program to calculate area of circle
| Step | Instruction | Comment |
|---|---|---|
| 00 | { 6-Byte Prgm } | |
| 01 | Script error: No such module "key".Script error: No such module "key".Script error: No such module "key".Script error: No such module "key".Script error: No such module "key". | Start of program "AREA" |
| 02 | Script error: No such module "key".Script error: No such module "key". | Prompts for Value of R and stores it in R |
| 03 | Script error: No such module "key". | Squares the value in X register |
| 04 | Script error: No such module "key". | Puts π on the stack |
| 05 | Script error: No such module "key". | Multiplies values in X and Y register |
| Script error: No such module "key". or Script error: No such module "key". | Returns control (and result in X) to either the user or to a calling program. |
Program instructions like Script error: No such module "key"., Script error: No such module "key"., Script error: No such module "key". halt the program execution,which can be continued by pressing Script error: No such module "key"..
Script error: No such module "key". is used to view contents of a register,For example R in the above example.
Using Integral and Equation Solver
It is necessary to write a program or subroutine that evaluates f(x) for the function which needs to be solved or integrated. Variables used in program should be declared using Script error: No such module "key".
Here is a sample program to solve the equation °F = (9/5×°C) + 32
| Step | Instruction | Comment |
|---|---|---|
| 00 | { 31-Byte Prgm } | |
| 01 | Script error: No such module "key".Script error: No such module "key".Script error: No such module "key".Script error: No such module "key".Script error: No such module "key". | Start of program "TEMP" |
| 02 | Script error: No such module "key".Script error: No such module "key". | Declares F as a variable for solver |
| 03 | Script error: No such module "key".Script error: No such module "key". | Declares C as a variable for solver |
| 04 | Script error: No such module "key".Script error: No such module "key". | Recall F |
| 05 | Script error: No such module "key". | |
| 06 | Script error: No such module "key". | |
| 07 | Script error: No such module "key". | |
| 08 | Script error: No such module "key".Script error: No such module "key". | Recall C |
| 09 | Script error: No such module "key". | |
| 10 | Script error: No such module "key". | |
| 11 | Script error: No such module "key".Script error: No such module "key". | |
| 12 | Script error: No such module "key". | |
| Script error: No such module "key". or Script error: No such module "key". | Returns control (and result in X) to either the user or to a calling program. |
After, accessing the solver using Shift Script error: No such module "key". (Script error: No such module "key". ), select program Script error: No such module "key"..
In a similar way, expressions can be integrated. After selecting the variable of integration, enter the lower limit and then press on Script error: No such module "key"., similarly input Script error: No such module "key". (upper limit) and Script error: No such module "key". (accuracy).
Emulators
HP 42s can be accessed through Android Emulators like Emu42 and Free42.
Reference Books
Guides and Collections of Keystroke Programs
Documentation for the HP 42S calculator at hpcalc.org[4][5]
- HP-42S Owner's Manual [6]
- HP-42S Programming Examples & Techniques[7]
- Step-by-Step Solutions: Electrical Engineering (42S)[8]
- Step-by-Step Solutions: Mechanical Engineering (42S)[9]
- Advanced Circuit Analysis with the HP-42S[10]
- An Easy Course in Using the HP-42S[11]
Educational Texts on RPN calculators
- Algorithms for RPN Calculators[12]
- Scientific Analysis on the Pocket Calculator[13]
- Engineering Statistics with a Programmable Calculator[14]
- Applied Mathematical Physics with Programmable Pocket Calculators[15]
- Mathematical Astronomy with a Pocket Calculator[16]
- Handbook of Electronic Design and Analysis Procedures using Programmable Calculators[17]
- Calculator Programs for Chemical Engineers(Vol 1 & 2)[18][19]
Collection of Algorithms/Keystroke Programs for HP 41/HP 42S
- Software Library for HP 41 Programs(Compatible with HP 42S)[20]
See also
- FOCAL character set
- Comparison of HP graphing calculators
- HP calculators
- List of Hewlett-Packard pocket calculators
- NOMAS (support)
References
- ^ Page Module:Citation/CS1/styles.css has no content."HP-42S". Museum of HP Calculators. Retrieved 2016-10-27.
- ^ Page Module:Citation/CS1/styles.css has no content.Hosoda, Takayuki (2007-10-10). "Upgrading the memory of the HP 42S to 32KB". Archived from the original on 2017-09-17. Retrieved 2011-08-12.
- ^ Page Module:Citation/CS1/styles.css has no content.HP 42S Easy Double Speed / Turbo Mode for Calculator and Programs, 2022-02-14, retrieved 2022-08-05
- ^ Page Module:Citation/CS1/styles.css has no content."All Known HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."All Known HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."HP-42S Owner's Manual - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."HP-42S Programming Examples & Techniques - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Step-by-Step Solutions: Electrical Engineering (42S) - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Step-by-Step Solutions: Mechanical Engineering (42S) - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Advanced Circuit Analysis with the HP-42S - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."An Easy Course in Using the HP-42S - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Algorithms for RPN Calculators - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Scientific Analysis on the Pocket Calculator - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Engineering Statistics with a Programmable Calculator - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Applied Mathematical Physics with Programmable Pocket Calculators - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Mathematical Astronomy with a Pocket Calculator - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Handbook of Electronic Design and Analysis Procedures using Programmable Calculators - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Calculator Programs for Chemical Engineers - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."Calculator Programs for Chemical Engineers Vol. 2 - HP Calculator Literature".
- ^ Page Module:Citation/CS1/styles.css has no content."MoHPC HP-41C Software Library".
Further reading
- Page Module:Citation/CS1/styles.css has no content.HP-42S RPN Scientific Calculator – Owner's Manual (PDF) (1 ed.). Corvallis, OR, USA: Hewlett-Packard Co. June 1988. 00042-90001. Archived (PDF) from the original on 2017-09-17. Retrieved 2017-09-17.
- Page Module:Citation/CS1/styles.css has no content.HP-42S RPN Scientific Calculator – Programming Examples and Techniques (PDF) (1 ed.). Hewlett-Packard. July 1988. 00042-90020, 00042-90019. Archived (PDF) from the original on 2017-12-19. Retrieved 2017-12-19.
- Page Module:Citation/CS1/styles.css has no content.Strapasson, José Lauro; Jones, Russ (January 2010). An Alternative HP-42S/Free42 Manual (PDF). 0.7. Archived (PDF) from the original on 2017-09-17. Retrieved 2017-09-17.
- HP-42S Quick Reference Guide (1 ed.). Corvallis, OR, USA, Dex Smith. October 1988. 00042-92222E.
- Page Module:Citation/CS1/styles.css has no content.Horn, Joseph K. (2017-08-23) [1988-11-09]. "HP-42S Owner's Manual Addendum: Hidden Matrix Functions". Archived from the original on 2017-09-17. Retrieved 2017-09-17.
- Page Module:Citation/CS1/styles.css has no content."DM42 User Manual". 3.17. SwissMicros GmbH. 2020-10-21 [2016]. Archived from the original on 2020-10-05. Retrieved 2020-10-21.
External links
- SwissMicros DM42
- HP-42S intro on hpcc.org
- HP-42S page on hpmuseum.org
- HP-42S resources on hp42s.com (defunct as of July 2017)
- HP-42S description on rskey.org
- HP-42S description on thimet.de
- Free42 for Android by Thomas Okken, an Open Source project.
- Page Module:Citation/CS1/styles.css has no content.Okken, Thomas (2011-04-20). "Free42, A HP-42S Calculator Simulator". Retrieved 2011-08-12.
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.