Sinclair Scientific
Template:Short description Template:Use British English Template:Use dmy dates Template:Infobox calculator
The Sinclair Scientific was a 12-function, pocket-sized scientific calculator introduced in 1974, dramatically undercutting in price other calculators available at the time. The Sinclair Scientific Programmable, released a year later, was advertised as the first budget programmable calculator.
Significant modifications to the algorithms used meant that a chipset intended for a four-function calculator was able to process scientific functions, but at the cost of reduced speed and accuracy. Compared to contemporary scientific calculators, some functions were slow to execute, and others had limited accuracy or gave the wrong answer, but the cost of the Sinclair was a fraction of the cost of competing calculators.
HistoryEdit
In 1972, Hewlett-Packard launched the HP-35, the world's first handheld scientific calculator.<ref name=hp35>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Despite market research suggesting that it was too expensive for there to be any real demand, production went ahead.<ref name=hpvm>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It cost Template:USD (about Template:GBP), but despite the price, over 300,000 were sold in the three and a half years for which it was produced.<ref name=hp35/><ref name=hpvm/>
From 1971, Texas Instruments had been making available the building block for a simple calculator on a single chip<ref name=dm>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and the TMS0803 chipset appeared in a number of Sinclair calculators.<ref name=dm/><ref name=eng/> Clive Sinclair wanted to design a calculator to compete with the HP-35 using this series of chips. Despite scepticism about the feasibility of the project from Texas Instruments engineers, Nigel Searle was able to design algorithms that sacrificed some speed and accuracy in order to implement scientific functions<ref name=eng/> on the TMS0805 variation.<ref name=dm/>
The Sinclair Scientific first appeared in a case derived from that of the Sinclair Cambridge, but it was not part of the same range.<ref name=ss/> The initial retail price was Template:GBP in the UK (Template:Inflation), and in the US for Template:USD as a kit or Template:USD fully assembled.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> By July 1976, however, it was possible to purchase one for Template:GBP<ref name=ss>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> (Template:Inflation).
The Sinclair Scientific Programmable was introduced in August 1975, and was larger than the Sinclair Scientific, at Template:Convert.<ref name=vcss>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It was advertised as "the first ... calculator to offer a ... programming facility ... at a price within the reach of the general public," but was limited by having only 24 program steps.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Both the Sinclair Scientific and the Sinclair Scientific Programmable were manufactured in England, like all other Sinclair calculators except the Sinclair President.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
DesignEdit
Sinclair ScientificEdit
The HP-35 used five chips, and had been developed by twenty engineers at a cost of a million dollars, leading the Texas Instruments engineers to think that Sinclair's aim to build a scientific calculator around the TMS0805 chip, which could barely handle four-function arithmetic, was impossible.<ref name=eng>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name=reg>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> However, by sacrificing some speed and accuracy, Sinclair used clever algorithms to run scientific operations on a chip with room for just 320 instructions.<ref name=eng/> Constants, rather than being stored in the calculator, were printed on the case below the screen.<ref name=eng/>
It displays only in scientific notation, with a five digit mantissa and a two digit exponent, although a sixth digit of the mantissa was stored internally.<ref name=eng/> Because of the way the processor was designed, it uses Reverse Polish notation (RPN) to input calculations.<ref name=eng/> RPN meant that the difficult implementation of brackets, and the associated recursive logic, was not necessary to implement in the hardware, but the effort was instead offloaded to the user.<ref name=rpn>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Instead of an "equals" button, the Template:Key top or Template:Key top keys are used to enter the initial value of a calculation, followed by subsequent operand(s) each followed by their appropriate operator(s).
To fit the program into the 320 words available on the chip, some significant modification was used.<ref name=eng/> By not using ordinary floating point numbers, which require many instructions to keep the decimal point in the right place, some space was freed up.<ref name=eng/> Trigonometric functions were implemented in about 40 instructions, and inverse trigonometric functions took almost 30 more instructions.<ref name=eng/> Logarithms are about 40 instructions, with anti-log taking about 20 more.<ref name=eng/> The code to normalize and display the computed values is roughly the same in the TI and Sinclair programs.<ref name=eng/>
The design of the algorithms meant that some calculations, such as arccos0.2, could take up to 15 seconds, whereas the HP-35 was designed to complete calculations in under a second.<ref name=eng/> Accuracy in scientific functions was also limited to around three digits at best, and there were a number of bugs and limitations.<ref name=eng/>
Ken Shirriff, an employee of Google, reverse engineered a Sinclair Scientific in 2013 and built a simulator using the original algorithms.<ref name=eng/><ref name=reg/>
Assembly kitEdit
The assembly kit consisted of eight groups of components, plus a carry case.<ref name=pm>Template:Cite journal</ref> The build time was advertised as being around three hours, and required a soldering iron and a pair of cutters.<ref name=pm/><ref name=ns>Template:Cite journal</ref> In January 1975, the kit was available for Template:USD, half the price at the time of introduction a year earlier,<ref name=pm/> and in December 1975 it was available for Template:GBP, less than a quarter of the introductory price.<ref name=ns/>
Template:AnchorSinclair Scientific ProgrammableEdit
The Sinclair Scientific Programmable was introduced in 1975, with the same case as the Sinclair Oxford.<ref name=vtss>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It was larger than the Scientific, at Template:Convert, and used a larger PP3 battery, but could also be powered by mains electricity.<ref name=vcss/><ref name=vtss/>
It had 24-step programming abilities, which meant it was highly limited for many purposes.<ref name=vtss/><ref name=lim>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It also lacked functions for the natural logarithm and exponential function.<ref name=lim/> Constants used in programs were required to be integers, and the programming was wasteful, with start and end quotes needed to use a constant in a program.<ref name=lim/><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
However, included with the calculator was a library of over 120 programs that performed common operations in mathematics, geometry, statistics, finance, physics, electronics, engineering, as well as fluid mechanics and materials science.<ref name=lim/><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> There were over 400 programs in the full Sinclair Program Library.<ref>Template:Cite journal</ref>
Calculations using the Sinclair ScientificEdit
The Sinclair used a slightly altered Reverse Polish Notation method; lacking an enter key, the operation keys enter a number into the appropriate register and the calculation is performed. For example, (1+2) × 3 could be calculated as: Template:Kbd to give the result of Template:Samp (Template:Val, or 9). The Template:Key top key performs a clear; pressing it sets the calculator to a state with zero in the internal registers. Pressing "C" followed by number keys then Template:Key top effectively adds the number entered to the zero and stores it internally to be worked on in subsequent calculations. If the Template:Key top key is pressed instead, the number is subtracted from zero, effectively entering a negative number.<ref name="manual">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
All numbers are entered in scientific notation. After entering the mantissa part of the number, the "E" exponent key is pressed prior to entering the integer exponent of the number. The task of ordering the operations is placed on the user, and there are no bracket keys. The display shows only five digits, but six digits can be entered.<ref name="manual"/> As an example 12.3×(−123.4+123.456) could be entered as Template:Kbd for a displayed result of Template:Samp (representing Template:Val, or 0.68880).
Four constants are printed on the calculator case for easy reference. For converting to and from base 10 logarithms and natural logarithms, the natural logarithm of 10 (2.30259) and e (2.71828) are printed on the case. Template:Pi (3.14159) and 57.2958 (180 / Template:Pi) are also on the case for trigonometry calculations. There was not enough internal memory to store these constants internally. Angles are computed using radians; degree values must be converted to radians by dividing by 57.2958. As an example, to calculate 25 sin (600×0.05°) one would enter Template:Kbd to get a result of Template:Samp (representing 12.5 which is equal to 25 sin(30°) ). Sine is selected with the combination of the Template:Key top key followed by the Template:Key top key. The Template:Key top (down) and Template:Key top (up) arrow keys are function select keys. The four operation keys (Template:Key top, Template:Key top, Template:Key top and Template:Key top) all have two other functions, activated by using one of the arrow keys. The functions available are sine, arcsine, cosine, arccosine, tangent, arctangent, logarithm and antilogarithm.