Showing posts with label comparison tests. Show all posts
Showing posts with label comparison tests. Show all posts

Monday, April 25, 2022

Retro Review: Texas Instruments TI-57 LCD

Retro Review:   Texas Instruments TI-57 LCD











Quick Facts:


Model:  TI-57 LCD

Company:  Texas Instruments

Years:  1982-1984

Type:  Programming

Batteries: 2 x LR44

Operating Mode:  AOS

Memory Registers: Minimum of 1, Maximum of 8

Program Steps:  Minimum of 0, Maximum of 48


Similar to many Texas Instruments programming calculators of the 1970s and 1980s, the memory can be partition between memory steps and program steps by the [ 2nd ] [ Part ] key sequence.  Each register has 8 program steps.  


Some Partitions:


Part 1:  1 register (R0), 48 steps

Part 2:  2 registers (R0, R1), 40 steps

Part 3:  3 registers (R0, R1, R2), 32 steps

Part 4:  4 registers (R0, R1, R2, R3), 24 steps


Features 


* trigonometric functions and inverses

* polar/rectangular conversions and degrees/degrees-minutes-seconds conversions

* integer part (Intg), fractional part (Frac), absolute value ( |x| )

* logarithms (log, ln x)

* storage arithmetic ([STO] followed by +, -, ×, ÷, y^x, INV y^x)


INV Key combinations


[ INV ] [ sin ]:  arcsin

[ INV ] [ cos ]: arccos

[ INV ] [ tan ]:  arctan

[ 2nd ] [ INV ] (P<>R):  rectangular to polar

[ 2nd ] [ INV ] (DMS-DD):  degrees to degrees-minutes-seconds

[ INV ] [ y^x ]:  y^(1/x)

[ INV ] [ log ]:  10^x

[ INV ] [ ln ]: e^x

[ 2nd ] [ INV ] (SBR):  RETURN - this ends subroutines

[ 2nd ] [ INV ] (Dsz):  Decrement R0 by 1 and skip if R0 ≠ 0


Polar to Rectangular:

r [ x<>t ] θ [ 2nd ] [ P<>R ]:   y [ x<>t ] x


Rectangular to Polar:

x [ x<>t ] y [ 2nd ] [ INV ] [ P<>R ]:   θ [ x<>t ] r


Keystroke Programming


The TI-57 LCD is a keystroke programmable calculator.   However, programming steps are at a premium with a maximum of 48 steps (allowing for one memory register) to 0 (yes, zero) if you use all 8 registers (R0 to R7).  


Programming commands include:


*  Test with the t register:  x=t,  x≥t, and inverses

*  Decrement and Skip:  either skip on zero or not on zero.  This command works on register 0.  

*  Labels and Go to commands:  labels 0-9

*  Pause command

*  Subroutines (SBR)

*  Go to step zero (RST)


Thankfully some steps are merged, mainly with the [ INV ] key, [ GTO ] key (GO TO command), [ 2nd ] key, and storage arithmetic.  


What is interesting is that there are no statistical functions on the TI-57 LCD.   See the One Variable Statistics section for a 25-step program to add one-variable statistics.  


Keyboard


We need to talk about the keyboard.  The keyboard looks good.  I have the United States edition of the TI-57 LCD and I like the blue, gray, black, and white color scheme.   


Unfortunately, some keys are hard to press and other keys can produce a double-stroke.  With the calculator I got, one wrong press gives a double number (22 instead of 2, 00 instead of 0) while some keys pressed in the "wrong" way do not register.  This does not allow for fast typing.   I think I found the keys "sweet spots":  the right side of the keys.    


The keyboard difficulties are a common complaint with the TI-57 LCD.   They are corrected with the TI-57 II released in 1986.  


TI-57 LCD Program:  One Variable Statistics

Memory Registers Required: 3  (Part 3)


00  23.01     LBL 1   // data entry

01  61.85.01 STO+ 1

02  34 x^2

03  61.85.02 STO+ 2

04  1 1

05  61.85.00 STO+ 0

06  13 R/S

07  22.01     GTO 1


08  23.02     LBL 2   // calculation

09  71.01    RCL 1

10  55 ÷

11  71.00     RCL 0

12  95 =

13  13 R/S   // sample mean

14  71.02     RCL 2

15  55 ÷

16  71.00     RCL 0

17  75 -

18  53 (

19  71.01     RCL 1

20  55 ÷

21  71.00     RCL 0

22  54 )

23  34 x^2

24  95 =

25  35 √

26  13 R/S  // population deviation


Registers used:

R0 = number of data points = n

R1 = sum of the data points = Σx

R2 = sum of the data points squared = Σx^2


Mean:

x-bar = Σx / n


Population Deviation

σx = √( Σx^2/n - (Σx/n)^2 )


Instructions:

1.  If necessary, partition memory to fit 3 memory registers (R0, R1, R2).  [ 2nd ] (Part) [ 3 ].

2.  Enter the first point, press [ GTO ] [ 1 ], then [ R/S ].  1 is displayed when data points are entered.

3.  Enter each subsequent point, press [ R/S ].  Repeat until finished.  

4.  To calculate the mean and population deviation, press [ GTO ] [ 2 ].   The mean is displayed first, press [ R/S ] to display population deviation.  


[ RCL ] [ 0 ]:  number of points

[ RCL ] [ 1 ]:  sum of data points

[ RCL ] [ 2 ]:  sum of squares of data points


Example 1:


Data Set: 4, 5, 9, 8, 6


Results:

n = 5

Σx = 32

Σx^2 = 222

x-bar = 6.4

σx = 1.854723699


Example 2:


Data Set: 11058, 12360, 12445, 12761, 13002, 13360


Results:

n = 6

Σx = 74986

Σx^2 ≈ 9.40 * 10^8

x-bar = 12497.66667

σx = 725.9110757


Closing Thoughts


I wish the TI-57 LCD had both more memory and functions.   Honestly, Texas Instruments could combine the functions of the TI-57 LCD (tests, labels, go to, decrement and skip), the TI-55 III (better keyboard, linear regression, integrals, unit conversions, signum function, permutations, combinations), and the later TI-60 (the TI-55III with base conversions) with a total of 188 steps.  The programming set up with the TI-57 LCD wins with it's merged steps with INV, STO, LBL, and GTO.   


Overall, I like the appearance of the TI-57 LCD, despite the keyboard's set backs. That, the lack of functions and statistics, and the sometimes slow execution and we can see why the TI-57 LCD was not a best seller.  


HP 32S and HP 32SII Week:  May 2, 2022 - May 6, 2022


Until next time,


Eddie


All original content copyright, © 2011-2022.  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. 



Sunday, June 6, 2021

Retro Review: Radio Shack EC-4027

Retro Review:  Radio Shack EC-4027




Quick Facts:

Company:  Radio Shack
Year Introduced:  1993
Type:  Scientific, Formula Programming
Memory:  40 steps
Operating System:  Algebraic
Memory Registers:  7, A through F, M
Batteries:  2 x LR44 (357)
Equivalent Of:  Sharp EL-5020

Background

From the 1970s to about the 1990s (maybe early 2000s), Radio Shack sold OEM equivalents of calculators from Sharp, Casio, and Texas Instruments, and the EC-4027 is no exception.  One advantage to buying Radio Shack is that the price tends to be cheaper but with equivalent quality of the original.

An Update to the Sharp EL-5100

The EC-4027 (and the Sharp EL-5020) is a scientific calculator which holds multi-step formulas.   There are no switches, everything is keys this time.  The following modes offered are:

*  Normal:  Computational mode
*  AER:  Program and store formulas
* ∫dx:  Integral Mode
* STAT 1:  Single-variable statistics mode
* STAT 2:  Linear Regression, y = a+bx

Base conversions and fractions are added.  

Like the EL-5100, expressions are entered algebraically as you would write it down.   A frustrating part is that the entire expression is not shown on the screen, regulating functions to the sides of the screen, which makes editing expressions difficult if not impossible.

Integration and Loops but With Less Memory

The memory of the EC-4027 is half of the EL-5100:

* 40 steps instead of 80
* Only two formulas can be stored instead of five

We do get comparisons against the M register, all six comparisons (<, ≤, =, >, ≥, ≠).  If the condition is met, the formula is starts over from the beginning, creating a loop.   

There is a separate mode for integration.  Either formula 1 or 2 can be called, and Simpson's Rule is used.  Any function that can be integrated is in terms of M.  

I wish the memory wasn't halved but instead increased.  Also, expand the ALPHA characters to include the entire alphabet.  But, the EC-4027 serves it's purpose.

Sources:

Toth, Viktor T. "Radio Shack EC-4027"  2000-2018.  https://www.rskey.org/ec4027  Last accessed April 9, 2021

Voidware.  "Sharp EL-5020" http://www.voidware.com/calcs/el5020.htm  Last accessed April 9, 2021. 

Eddie

All original content copyright, © 2011-2021.  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. 

Sunday, May 23, 2021

Firmware Update: Swiss Micros DM42 - DMCP 3.21/DM42-3.19, Free42, and Offscreen Images

Firmware Update:   Swiss Micros DM42 - DMCP 3.21/DM42-3.19, Free42, and Offscreen Images


Firmware Update


Swiss Micros released a firmware update to the Swiss Micros DM42 calculator.  The current versions are:


* DMCP 3.21

* DM42-3.19


Download the file here:


https://technical.swissmicros.com/dm42/firmware/


This firmware brings the DM42 in alignment with Firmware 3.0.3 of Free42 by Thomas Okken.  Click here for details:


https://thomasokken.com/free42/history.html


Furthermore, you download the latest version of Free42 here:


https://thomasokken.com/free42/#doc



Steps:


1.  Plug in the DM42 into the PC.

2.  Activate USB Disk.  Press [ shift ] [ 0 ] (SETUP), 1. File, 3.  Activate USB Disk.

3.  Transfer the file (see Tip below) to the root directory of the calculator (hardware).

4.  Exit USB Disk on your calculator.  The firmware should update itself automatically.


Detailed instructions and other ways to update firmware can be found here, refer to sections 6.2 for the quick update or 6.3 for an alternative method:


https://technical.swissmicros.com/dm42/doc/dm42_user_manual/#quick_update_guide


Tip:  When transferring the bin file to the calculator, you want to transfer the combination bin file DCMP_flash_3.21_DM42-3.19.bin.   You need both the DCMP and DM42 files for the calculator to run.   


New Comparison Functions


X=?, X>?, X<?, X≤?, X≥?, X≠?


These tests compare the contents of the X Register to any other stack (T,Z,Y,L) or variable.   


Example:

R01 = 33

X:  25


X>? 01 returns No (next program step will be skipped)

X<? 02 returns Yes (next program step will be executed)


0=?, 0>?, 0<?, 0≤?, 0≥?, 0≠?


These tests are similar to the above except this comparison of any target stack or variable to zero.   


Both can be found in the CATALOG-PRGM menu.  In CATALOG, scroll to the PRGM submenu.


Writing Program Lines with X2LINE and A2LINE


Found in the CATALOG-MISC menu, X2LINE and A2LINE creates a program line from the X-stack and Alpha register, respectively.  This allows the user to create program lines outside of the program editor.  I don't know how this can be effective when it comes to executing functions, but they are here.


Enhanced VARMENU Command


The VARMNU1 allows the user to select variables without having to assign values to other variables first.  Found in the CATALOG-PRGM menu.


Longer String Creation with XSTR


I think this going to be my new favorite command besides the new comparison functions.  The XSTR allows for creation of strings of any length, beating the six-character limit of ASTO.  Found in the CATALOG-PRGM menu.


Example:

CLA

XSTR "FREE 42/DM 42"

ARCL ST X

XSTR " 2021"

ARCL ST X


Alpha Register:  "FREE 42/DM42 2021"



Off Images for the DM42 and DM41X


Off images must be the size of 400 x 240 pixels and be 1-color (monochrome) .bmp files.  





Carbon Canyon Park, Brea, CA - April 2021



 

Polar Butterfly - Plotted on an HP Prime - 2020




Mojave Narrows Park, Victorville, CA - May 2021




Laguna Beach, CA - March 2021



Eddie


All original content copyright, © 2011-2021.  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. 


HP 15C: The I Squared Rule and HHC 2026

HP 15C: The I Squared Rule and HHC 2026 HHC 2026 Videos Before we start, the videos for HHC 2026 are up! Please take a look, ev...