Saturday, June 20, 2026

High Rollers: When Only Even Numbers Remain – Game Strategy

High Rollers: When Only Even Numbers Remain – Game Strategy



Introduction



In the famous game show High Rollers, which aired from 1975-1980, hosted by Alex Trebek and then again from 1987-1988 hosted by Wink Martindale. The main objective of the game is to eliminate numbers 1 through 9 by rolling dice.



On the game show, there are two rounds*. On the main game, two opponents play against each other. The winner goes on to the Big Numbers where the winner tries to clear all the numbers.



* There were variants, but this was prevailing game modes.



For detailed information: https://en.wikipedia.org/wiki/High_Rollers




Just Even Numbers Left: 2, 4, 6, and 8


From this point, only rolls with even sums are valid. The strategy changes depending on what round is being played.


In a two-player game: You either win by either rolling the last number off the board or getting your opponent to roll an unplayable number. As the game goes on, the chance of rolling an unplayable number increase.


In the Big Numbers bonus round: To win the big prize, typically a $ 10,000 cash jackpot, the only you win is to clear all the numbers.


Ways to roll even numbers:


2: 1,1

4: 1,3; 2,2; 3,1

6: 1,5; 2,4; 3,3; 4,2; 5,1

8: 2,6; 3,5; 4,4; 5,3; 6,2

10: 4,6; 5,5; 6,4

12: 6,6


If both dice has the same number, i.e. 2,2, it is considered a double and it wins the player an Insurance card, which counts as a free roll. At worst, rolling doubles acts as a “roll again”.


With a board consisting of the even numbers 2, 4, 6, and 8, the best way


Roll

Main Game: Against an Opponent

During the Big Numbers Bonus Round

2

Only one move: remove the 2

Only one move: remove the 2

4

Only one move: remove the 4. 4 becomes an unplayable roll.

Only one move: remove the 4. 4 becomes an unplayable roll.

6

Remove the 2 and 4. This eliminates 2, 4, 10, and 12 as valid rolls, leaving only the 6 and 8.

Remove the 6. This leaves 2, 4, and 8. All even rolls are still good. A roll of 6 can eliminate the 2 and 4 the next roll.

8

Remove the 2 and 6. This eliminates the 2, 6, and 10, leaving only the 4, 8, and 12 (12 wins the game).

Remove the 8. This leaves 2, 4, and 6. All even rolls are still good. A roll of 8 can eliminate the 2 and 6 the next roll.

10

Remove the 4 and 6. This leaves 2, 8, and 10 as valid rolls on the next turn (10 wins the game). The chance of rolling a 2, 8, or 10 is 1/6 (≈ 16.7%).

Remove 2 and 8. This leaves 4, 6, and 10 as valid rolls on the next turn (10 wins the game). The chance of rolling a 4, 6, or 10 is 2/9 (≈ 22.2%).

12

Remove on 2, 4, and 6. This leaves only the 8. Chance of rolling 8 is 5/36 (≈ 13.9%).

Remove the 4 and 8. This leaves the 2 and 6. A roll of 8 can eliminate both the 2 and 6 on the next roll. The chance of rolling a 2, 6, and 8 is 11/36 (≈ 30.6%).


Source

“High Rollers” Wikipedia. Edited November 10, 2025. Retrieved February 14, 2026. https://en.wikipedia.org/wiki/High_Rollers


Eddie


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

Saturday, June 13, 2026

Numworks (Python): Parallelograms Described by Vectors

Numworks (Python): Parallelograms Described by Vectors



Introduction



The script drawpgram.py draws a parallelogram constructed by a pair of two-dimensional vectors. Both vectors original from the origin of the Cartesian plane ([0, 0]). Let the two vectors be labeled as [x1, y1] and [x2, y2].



This script also calculates the area and perimeter of the constructed parallelogram consisting of the end points (0,0), (x1, y1), (x2, y2), and (x1+x2, y1+y2).







Then the perimeter of the parallelogram is calculated as:

perimeter = 2 * (norm([x1, y1] + norm[x2, y2]) = 2 * (√(x1 + y1) * √(x2, y2))



And the area is calculated as:

area = abs(det([[x1, y1] [x2, y2]])) = abs(x1 * y2 – x2 * y1)





Numworks Script: drawpgram.py

Modules used: Math, PyPlot



Script page: https://my.numworks.com/python/ews31415/drawpgram



# Draw a parallelogram with two vectors

# Edward Shore, 2/15/2026

# Numworks

# drawpgram.py



from math import *

from matplotlib.pyplot import *



print("Draw a parallelogram with 2 vectors")

x1=eval(input("x1? "))

y1=eval(input("y1? "))

x2=eval(input("x2? "))

y2=eval(input("y2? "))



# Area

area=abs(x1*y2-x2*y1)



# Perimeter

perim=2*((x1**2+y1**2)**(1/2)+(x2**2+y2**2)**(1/2))





minx=min([x1,x2,x1+x2,0])

maxx=max([x1,x2,x1+x2,0])

miny=min([y1,y2,y1+y2,0])

maxy=max([y1,y2,y1+y2,0])



axis((minx-1,maxx+1,miny-1,maxy+5))



plot([0,x1],[0,y1],'blue')

plot([0,x2],[0,y2],'purple')

plot([x1,x1+x2],[y1,y1+y2],'purple')

plot([x2,x1+x2],[y2,y1+y2],'blue')



str1="area = {0:.6f}".format(area)

text(minx-1,maxy+4.5,str1)



str2="perim = {0:.6f}".format(perim)

text((minx+maxx)/2,maxy+4.5,str2)



show()



Notes:

1. I use eval(input( “prompt” )) and importing the Math module to allow for expressions to be entered, such as expressions involving pi (π). If I use float(input( “prompt” )) instead, only numbers would be allowed.

2. For the purposes of display, the results are rounded off to six decimal places ({0:.6f}) and displayed in a line. The full precision results of area and perimeter are stored in the variables area and perim, respectively.



Examples



Example 1: [2, 4], [5, 2]



Example 2: [-3, 1], [5, 3]



Example 3: [-6, 0], [0, -4]



Source

Margalit, Dan and Joseph Rabinoff. 2025. “Determinants and Volumes” Interactive Linear Algebra LibreTexts. Accessed February 8, 2026. https://math.libretexts.org/Bookshelves/Linear_Algebra/Interactive_Linear_Algebra_(Margalit_and_Rabinoff)/04%3A_Determinants/4.03%3A_Determinants_and_Volumes



Eddie


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

Saturday, June 6, 2026

RPN: Solving T * w + Z = Y * w + X (featuring DM42, HP 67)

RPN:   Solving T * w + Z = Y * w + X  (featuring DM42, HP 67)


Introduction and Code



This is inspired in part by the new Casio fx-92 being released where it has added the linear equation:

ax + b = cx + d



( https://tiplanet.org/forum/viewtopic.php?p=280173&sid=2174c3a99692ac8898ff3957db84031a#p280173 (in French), retrieved February 6, 2026)



Solve the equation for w:

T * w + Z = Y * w + X


where the solution is w = (Z – X) ÷ (Y – T)


The values for T, Z, Y, and X are taken directly from the four-level classic RPN stack.



HP 42S/DM42/HP 41C (programmed with a DM42) Code


LBL “TZYX1”

x<>y

R↓

-

R↓

-

R↑

x<>y

÷

RTN



HP 67 Code


001: LBL A; 31, 25, 11

002: x<>y; 35, 52

003: R↓; 35, 53

004: -; 51

005: R↓; 35, 53

006: -; 51

007: R↑; 35, 54

008: x<>y; 35, 52

009: ÷; 81

010: RTN; 35, 52



Stack Results:


Start

Finish

T

Z - X

Z

Z - X

Y

Y

X

(Z – X) ÷ (Y – T) = W (solution)



Examples


Example 1: 5 * w + 20 = 10 * w + 30


T: 5

Z: 20

Y: 10

X: 30


Solution: w = -2




Example 2: 3 * w – 18 = -2 * w + 16


T: 3

Z: -18

Y: -2

X: 16


Solution: w = 6.8




Example 3: 5 * w + 3 = w + 2


T: 5

Z: 3

Y: 1

X: 2


Solution: w = -0.25




Eddie


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

Saturday, May 30, 2026

Numworks (Python): Determining Earth’s Acceleration of Gravity

Numworks (Python): Determining Earth’s Acceleration of Gravity



Introduction



Note: We will only be using SI units on this blog entry and program.



In general, the Earth’s acceleration constant, labeled with a lower case g, is conventionally defined to be 9.80665 m/s². Did you know that the gravitation acceleration on this planet actually varies (albeit slightly) depending on factors? For example, the gravity’s acceleration in Los Angeles, California, is about 9.796 m/s² (see Wikipedia article in the Source section).



On today’s blog, we will estimate the gravity of Earth based with two parameters: the latitude (North/South position on Earth’s grid) and elevation (in meters). This will give us a more accurate estimated on gravity, which in turn will give other physics calculations more accuracy.



For this program, I’m using a mix of formulas to estimate Earth’s gravitational acceleration:



Let Φ = latitude in radian measure:

Φ = (degrees + minutes ÷ 60 + seconds ÷ 3600) * π ÷ 180



For this calculation, consider the absolute value of the latitude. Gravity acceleration is the a given the northern latitude north and the corresponding southern latitude. (Example: gravity is about 9.79325 m/s² at 30° north and 30° south).



Gravity at the surface (0 m) is calculated as:

gs = (a * ga * (cos Φ)^2 + b * gb * (sin Φ)^2) ÷ √((a * cos(Φ))^2 + (b * sin(Φ))^2)

[Bilsin]



Where:

Φ = latitude in radians (see formula above)

a = 6378137 m (Earth’s radius at the equator)

ga = 9.70803253359 m/s² (gravity at the equator)

b = 6356752.3142 m (Earth’s radius at the poles)

gb = 9.8321849378 m/s² (gravity at the poles)

[Bilsin, Table 2]



Gravity at the selected elevation is estimated at:

ge = (100 * gs – 0.3086 * h ÷ 1000) ÷ 100

[Glover]



Where:

h = height in meters (m)



Note: The table on the Desk Ref list gravity as cm/s² and the original formula called for the height in kilometers (km).



To convert feet to meters, multiply by 0.3048.



Numworks Program: earthg.py


https://my.numworks.com/python/ews31415/earthg


Code:


from math import *

# Numworks, EWS, January 2026


# constants

# equator: radius, gravity

a=6378137

ga=9.7803253359

# poles: radius, gravity

b=6356721.3142

gb=9.8321849378


print("Latitude:","\nNorth or South")

d=eval(input("Decimal? "))

m=eval(input("Minutes? "))

s=eval(input("Seconds? "))

phi=radians(d+m/60+s/3600)


print("Height (m)?")

h=eval(input("? "))


gs=a*ga*cos(phi)**2+b*gb*sin(phi)**2

gs/=sqrt((a*cos(phi))**2+(b*sin(phi))**2)


print("Gravity on the surface:")

print(str(gs)," m/s**2")


print("At altitude: ",str(h)," m")

ge=(100*gs-0.3086*h/1000)/100

print(str(ge)," m/s**2")




Examples


Latitude

Elevation

g_surface

g_elevation

30°0’0”

0

9.793247191840559

9.793247191840559

40°0’0”

304.8

9.801696762579571

9.800756149779572

45°0’0”

762

9.806197665936962

9.803846133936961

12°5’13”

1219.2

9.782589588493437

9.778827137293437

34°26’44”

500

9.796866770553882

9.795323770553882


g_surface: gravity at surface level (0 m)

g_elevation: gravity at the selected elevation



Sources


Bislin, Walter. “Earth Gravity Calculator” September 1, 2018. https://walter.bislins.ch/bloge/index.asp?page=Earth+Gravity+Calculator Retrieved January 15, 2026.


Glover, Thomas J. and Richard A. Young Desk Ref Sequoia Publishing, Inc. Anchorage, AK. 4th Edition, 2022. Soft Cover ISBN 978-1-885071-60-6. pg. 587


“Gravity of Earth” Wikipedia. Last edited January 31, 2026. https://en.wikipedia.org/wiki/Gravity_of_Earth Retrieved February 1, 2026.



Eddie


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

The New TI-84 Evo

The New TI-84 Evo








Some Notes on the TI-84 Evo


The TI-84 Evo was released on April 28, 2026 in the United States. It is an update of the TI-84 CE Python and in fact, replacing the TI-84 CE Python. As of right now, the TI graphing calculator the TI-83/84 family consists of:


TI-83 Plus: This calculator model was first introduced in 1999 and is run by four AAA batteries with a CR1620 backup.

TI-84 Plus: This is the base TI-84 model with a monochrome screen, originally first arrived in 2004. The last firmware, 2.55, adds math print (textbook print).

TI-84 Plus CE: This is a color version of the TI-84 Plus and has a rechargeable battery.

TI-84 Evo: This is next version of a TI-84 Plus that has Python.


Quick Facts and What the TI-84 Evo Can Do



Model: TI-84 Evo

Company: Texas Instruments

Type: Graphing

Programming Language: TI-Basic, Python

Power: Rechargeable Battery, powered by as USB C cord

Case: Slide case

Memory: 7 memory registers: A, B, C, D, X, Y, M (M has memory addition and subtraction)

Years in Production: April 28, 2026 - present

Display: 320 x 240 pixels, 2.8” diagonal screen

Colors: White, Pink, Mint Green, Raspberry, Silver, Teal, Lavender. I have a white one.

Retail Price: $160 (US dollars). There is a four year license to an online emulator included.



For reference, the TI-84 Plus CE Python, the calculator the TI-84 Evo replaces, was in production from July 27, 2021 to April 27, 2026.


At this point we all know, more or less, the main features of the TI-84 Plus, as they are present with the current TI-84 Evo (not an all inclusive list):


* Graph up to 10 functions, six parametric functions, six polar functions, and three recursive functions

* Lists can have up to 999 elements can be used. Lists can have real and complex numbers. There are many functions associated with lists, such as sorting, finding the arithmetic average (mean), the sum of the elements, applying lists in statistical analysis, and generating lists from defining a sequence. There are six lists that can be accessed from the keyboard and additional lists with custom names can be created.

* Complex numbers including arithmetic, conjugate, conversion between rectangular (a+bi) and polar forms (re^(iΘ)), square, square root, cube, and cube root of complex numbers.

* 10 matrices, [ A ] through [ J ], including the transpose, inverse, determinant, row operations, and generating identity matrices.

* Many statistical regressions, distributions (normal, student, Chi-squared, F, binomial, Poisson), and ANOVA.

* Drawing tools

* Two programming languages: the classic TI-Basic and Python. Python modules include math, random, plotlib (TI version), time, specialized modules for the TI hub, TI rover, and import processing.


Two major selling points of the TI-84 Evo are:


* Distraction free mathematics with no smartphone interface. However, all calculators that are not downloaded to smartphones qualify to be “distraction free”. This is a response to curbing smartphone use in the classroom.

* The TI-84 Evo has an icon menu. The icon main menu replaces the app key. While the TI-84 Evo is on, the [ on ] key acts as toggle between the main menu and the last used app.





The apps included with the TI-84 Evo are:

1. Calculator (Home)

2. Y= Function Editor (same as pressing [Y=]

3. List Editor (same as pressing [ stat ], [ 1 ])

4. Mode Settings (same as pressing [ mode ])

5. Numeric Solver (same as pressing [math], C or [math], [ ↑ ], [ enter ])

6. Polynomial Root Finder

7. System Solver (linear systems)

8. Finance (time value of money solver and basic finance functions, including date functions covering years from 1980 to 2079).

9. Transformation Graphing

Inequality Graphing

Conics Graphing

Python

TI-Basic

Help (one page has a QR code for which leads to the TI-84 Evo online guide)


TI-84 Evo User Guide: https://education.ti.com/en/product-resources/eguides/eguide-84-evo






Some Differences Between the TI-84 Evo and the Previous TI-84 Plus CE Python


For this section, I refer the TI-84 Plus CE Python as the 84 Python and the TI-84 Evo as the 84 Evo. These are some of the changes observed. Despite these changes, at its core the TI-84 Evo is easy to pick up and learn, and if you are transferring from an older TI-82/83/84, the learning curve is at the most, minimal.






Keyboard Changes:

84 Python: smaller keys, 2nd and alpha functions printed above the keys 

84 Evo: big square keys, 2nd and alpha functions printed on the keys



84 Python  (TI-84 CE Python) Keyboard

84 Evo  (TI-84 Evo) Keyboard

From the 84 Python to the 84 Evo:

2nd of [del] key: ins becomes an icon | <> []

distr (distributions): moves from 2nd of [vars] to alpha of [stat]

[apps] key replaced with fraction template [ []/[] ]

2nd of [math] key: test becomes an icon =≤≠>

matrix: moves from 2nd of [x^-1] key to 2nd of [vars] key

[clear] key gets an undo clear 2nd function, labeled ⟲clear, can be used as "cut"/"copy" and "paste"

[x^-1] reciprocal key becomes [x^[]] power key template, while its 2nd function is the root template []√



Arithmetic keys move up a row: 

[ ^ ] becomes the [ ÷ ] key 

[ ÷ ] becomes the [ × ] key 

[ × ] becomes the [ - ] key 

[ - ] becomes the [ + ] key 

[ + ] becomes the [ <> ] key (utility/toggle key) Though the primary functions change the 2nd and alpha functions remain the same

[enter] key appears to lose the solve alpha function

2nd of [sto→] key: rcl gets lengthened to recall

[on] key gets a home icon



Battery:

84 Python: Lithium ion polymer 

84 Evo: Lithium ion



Power Connection:

84 Python: TI-specific cord with USB-A/USB-mini 

84 Evo: USB-C/USB-A (came in the box)



Colors of the keys – on the white keyboard:

84 Python: blue 2nd key, green alpha key, black math keys, gray arithmetic keys, white number keys, gray function and arrow keys

84 Evo: blue 2nd key, green alpha key, white math, arithmetic, and function keys, black arrow and number keys

number keys: [ 0 ] through [ 9 ], [ . ], [(-)]



Connection Software:

84 Python: TI Connect CE

84 Evo: https://connectevo.ti.com/ticevo/en/ (online connection, like TI-nSpire CX II)





Multiplication Symbol Used in Expressions:

84 Python: asterisk (*)

84 Evo: dot (⋅)



Colors Used on Calculations on the Home/Calculator Screen:

84 Python: Everything is in black

84 Evo: Input expressions are in black, cursor is blue, answers are in green



Memory Available for Storage:

84 Python: 3 MB

84 Evo: 3.5 MB



Graphing Display Area:

84 Python: 264 x 165 pixels with a border around the graphing

84 Evo: 319 x 209 with no boarder as the graph takes the entire screen (just like the old days, the monochrome TI-84)





Backwards Capability of TI-83 Plus and TI-84 Plus TI-Basic Programs:

84 Python: Yes (.8xp)

84 Evo: No (.8xp2). Why? Texas Instruments rewrote the Basic language engine. There are programs that can translate from .8xp to .8xp2 files. Check Cemetech or TI Planet.

Note: Python programs can be transferred easily between the 84 Python and 84 Evo.



Built in Clock:

Python: Set clock option present

Evo: No clock option present (quiet removal, will the clock be missed?)


Features Added to the TI-84 Evo



* Gradian mode, with all the conversions and symbols added

* Three additional regressions: PropReg (y = a*x), RecipReg (y = a/x + b), and eBaseReg regression (y = a * e^(b*x))

* The Time Module adds two additional functions: ticks_ms and ticks_diff.



Should I Get a TI-84 Evo or TI-84 CE Python?



Reasons to buy the TI-84 Evo:

You like connecting with USB C instead of USB Mini

Faster processor*

Your first TI-84 ever

You desire to work with both hardware and the emulator (you get a four year license on purchase)

You want the latest model and/or if you are like me and like to collect calculators



Reasons to buy the now older TI-84 CE Python:

The border around the graphing screen isn't annoying, don’t mind it as much (or at all)

You work with the SciTools and Periodic Table apps a lot

You want a TI-84 with Python at a lower price

You work with the Turtle Module in Python



* although some say graphing could be slower due to the fact the entire screen is used.


Note: If you want assembly programming with a TI, stick with the older monochrome calculators as the newer TI calculators no longer support assembly programs.



Source


Texas Instruments. “TI-84 Evo Graphing Calculator” https://education.ti.com/en/products/calculators/graphing-calculators/ti-84-evo Retrieved May 23, 2026.




Eddie


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


High Rollers: When Only Even Numbers Remain – Game Strategy

High Rollers: When Only Even Numbers Remain – Game Strategy Introduction In the famous game show High Rollers, which aired from...