HP-42S

Last updated

HP-42S
HP 42s calc2.png
HP-42S
Type Programmable scientific
Manufacturer Hewlett-Packard
Introduced1988
Discontinued1995
Calculator
Entry mode RPN
Precision12 display digits (15 digits internally), exponent ±499
Display type LCD dot-matrix
Display size2 lines, 22 characters, 131×16 pixels
CPU
Processor Saturn (Lewis)
Programming
Programming language(s) RPN key stroke (fully merged)
Firmware memory64 KB of ROM
Program steps7200
Interfaces
Ports IR (Infrared) printing
Other
Power supply3×1.5 V button cell batteries (Panasonic LR44, Duracell PX76A/675A or Energizer 357/303)
Weight6 oz (170 g)
Dimensions148×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.

Contents

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

HP-42S battery compartment and the IR diode Hp42s battery compartment.jpeg
HP-42S battery compartment and the IR diode
HP-42S calculator internal teardown HP42S Calculator Internal Teardown.jpg
HP-42S calculator internal teardown

Features

Programming

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 PRGM key. Subroutines are enclosed in LBL/Label (name of subroutine) and RTN/Return ( halts execution unless it is in a subroutine in which case it returns to the caller). Keystrokes (of functions) are enclosed between LBL and RTN or .END.

In a running program, a GTOlabel 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.

XEQ is used in much the same way with one important difference: after an XEQ 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 XEQlabel (Execute) key. Important Difference is that XEQ executes the label and returns to previous subroutine and continues execution from the line following XEQ,whereas GOTO branches to the label specificied and doesn't return back.

GTO.. packs the current subroutines and moves to new program space.GTO.nnnn can be used to reach a particular line of program.

Programming examples

A simple program to calculate circumference of circle

StepInstructionComment
00{ 6-Byte Prgm }
01LBLCIRStart of program "CIR"
02PIPuts π on the stack
03INPUTRPrompts for Value of R and stores it in R
04X↑2Squares the value in X register
05×Multiplies values in X and Y register
END or RTNReturns control (and result in X) to either the user or to a calling program.

Program instructions like STOP, PROMPT, INPUT halt the program execution,which can be continued by pressing R/S.

VIEW 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 MVAR

See also

Related Research Articles

<span class="mw-page-title-main">Reverse Polish notation</span> Mathematics notation where operators follow operands

Reverse Polish notation (RPN), also known as reverse Łukasiewicz notation, Polish postfix notation or simply postfix notation, is a mathematical notation in which operators follow their operands, in contrast to prefix or Polish notation (PN), in which operators precede their operands. The notation does not need any parentheses for as long as each operator has a fixed number of operands.

<span class="mw-page-title-main">Scientific calculator</span> Calculator designed to calculate problems in science, engineering, and mathematics


A scientific calculator is an electronic calculator, either desktop or handheld, designed to perform calculations using basic and advanced mathematical operations and functions. They have completely replaced slide rules as well as books of mathematical tables and are used in both educational and professional settings.

<span class="mw-page-title-main">HP-65</span> Programmable handheld calculator with magnetic card reader

The HP-65 is the first magnetic card-programmable handheld calculator. Introduced by Hewlett-Packard in 1974 at an MSRP of $795, it featured nine storage registers and room for 100 keystroke instructions. It also included a magnetic card reader/writer to save and load programs. Like all Hewlett-Packard calculators of the era and most since, the HP-65 used Reverse Polish Notation (RPN) and a four-level automatic operand stack.

<span class="mw-page-title-main">RPL (programming language)</span> Handheld calculator operating system

RPL is a handheld calculator operating system and application programming language used on Hewlett-Packard's scientific graphing RPN calculators of the HP 28, 48, 49 and 50 series, but it is also usable on non-RPN calculators, such as the 38, 39 and 40 series. Internally, it was also utilized by the 17B, 18C, 19B and 27S.

<span class="mw-page-title-main">HP 33s</span> Scientific calculator by Hewlett-Packard

The HP 33s (F2216A) was a scientific calculator marketed by Hewlett-Packard. It was introduced in 2003 as the successor to the HP 32SII, and discontinued on the introduction of its successor the HP 35s in 2007.

<span class="mw-page-title-main">HP-41C</span> Hewlett-Packard handheld RPN calculator

The HP-41C series are programmable, expandable, continuous memory handheld RPN calculators made by Hewlett-Packard from 1979 to 1990. The original model, HP-41C, was the first of its kind to offer alphanumeric display capabilities. Later came the HP-41CV and HP-41CX, offering more memory and functionality.

<span class="mw-page-title-main">HP-20S</span> Programmable calculator

The HP-20S (F1890A) is an algebraic programmable scientific calculator produced by Hewlett-Packard from 1987 to 2000.

<span class="mw-page-title-main">HP-27S</span>

The HP-27S was a pocket calculator produced by Hewlett-Packard, introduced in 1988, and discontinued between 1990 and 1993. It was the first HP scientific calculator to use algebraic entry instead of RPN, and though it was labelled scientific, it also included features associated with specialized business calculators.

<span class="mw-page-title-main">HP calculators</span> Calculator product line by Hewlett-Packard

HP calculators are various calculators manufactured by the Hewlett-Packard company over the years.

There are various ways in which calculators interpret keystrokes. These can be categorized into two main types:

<span class="mw-page-title-main">HP 9800 series</span>

The HP 9800 is a family of what were initially called programmable calculators and later desktop computers that were made by Hewlett-Packard, replacing their first HP 9100 calculator. It is also named "98 line". The 9830 and its successors were true computers in the modern sense of the term, complete with a powerful BASIC language interpreter.

<span class="mw-page-title-main">Hewlett-Packard Voyager series</span> Programmable calculator, 1982–1984

The Hewlett-Packard Voyager series of calculators were introduced by Hewlett-Packard in 1981. All members of this series are programmable, use Reverse Polish Notation, and feature continuous memory. Nearly identical in appearance, each model provided different capabilities and was aimed at different user markets.

<span class="mw-page-title-main">HP-25</span>

The HP-25 was a hand-held programmable scientific/engineering calculator made by Hewlett-Packard between early January 1975 and 1978. The HP-25 was introduced as a cheaper alternative to the ground-breaking HP-65.

<span class="mw-page-title-main">HP-15C</span> Programmable scientific calculator produce by Hewlett-Packard

The HP-15C is a high-end scientific programmable calculator of Hewlett-Packard's Voyager series produced between 1982 and 1989.

<span class="mw-page-title-main">HP-16C</span> Programmable calculator produce by Hewlett-Packard

The HP-16C Computer Scientist is a programmable pocket calculator that was produced by Hewlett-Packard between 1982 and 1989. It was specifically designed for use by computer programmers, to assist in debugging. It is a member of the HP Voyager series of programmable calculators. It was the only programmer's calculator ever produced by HP, though many later HP calculators have incorporated most of the 16C's functions.

<span class="mw-page-title-main">HP-28 series</span> Series of graphing calculators produced by Hewlett-Packard

The HP-28C and HP-28S were two graphing calculators produced by Hewlett-Packard from 1986 to 1992. The HP-28C was the first handheld calculator capable of solving equations symbolically. They were replaced by the HP 48 series of calculators, which grew from the menu-driven RPL programming language interface first introduced in these HP-28 series.

<span class="mw-page-title-main">HP 35s</span> Programmable scientific calculator produced by Hewlett-Packard

The HP 35s (F2215A) is a Hewlett-Packard non-graphing programmable scientific calculator. Although it is a successor to the HP 33s, it was introduced to commemorate the 35th anniversary of the HP-35, Hewlett-Packard's first pocket calculator. HP also released a limited production anniversary edition with shiny black overlay and engraving "Celebrating 35 years".

<span class="mw-page-title-main">HP-55</span>

The HP-55 was a programmable handheld calculator, a lower-cost alternative to the HP-65. Introduced by Hewlett-Packard in 1975, it featured twenty storage registers and room for 49 keystroke instructions. Its outward appearance was similar to the HP-65, but its silver band went through between the display and the keyboard like HP-45, and the functions of some keys were different from HP-65, and it did not have a magnetic card reader/writer. Like all Hewlett-Packard calculators of the era and most since, the HP-55 used Reverse Polish Notation (RPN) and a four-level automatic operand stack.

In computing FOCAL character set refers to a group of 8-bit single byte character sets introduced by Hewlett-Packard since 1979. It was used in several RPN calculators supporting the FOCAL programming language, like the HP-41C/CV/CX as well as the later HP-42S, which was introduced in 1988 and produced up to 1995. As such, it is also used by SwissMicros' DM41/L, both introduced in 2015, and is implicitly supported by the DM42, introduced in 2017.

<span class="mw-page-title-main">HP 30 series</span>

The HP-30 or Spice series are RPN Scientific hand-held calculators introduced by Hewlett-Packard in 1978. Some models are programmable.

References

  1. "HP-42S". Museum of HP Calculators. Retrieved 2016-10-27.
  2. 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.
  3. HP 42S Easy Double Speed / Turbo Mode for Calculator and Programs , retrieved 2022-08-05

Further reading