Sunday, August 8, 2021

Calculated Industries Calculators: Memory Registers and Tape

Calculated Industries Calculators:  Memory Registers and Tape


Introduction


This post covers five Calculated Industries calculators:


Tradesman Calc - 4400

Construction Master 5 - 4050

Machinist Calc Pro - 4087

Pipe Trades Pro - 4095

ElectricCalc Pro - 5070


Memory Storage and Store Arithmetic


The calculators do not have storage arithmetic other than the independent memory register (M).   


Tradesman Calc - 4400 Construction Pro 5 - 4050 Machinist Calc Pro - 4087 Pipe Trades Pro - 4095 ElectricCalc Pro - 5070
M, registers 1 - 9 M only M, registers 1 - 9 M, registers 1 - 9 M, registers 1 - 9
M+, M- M+, M- M+, M- M+, M- M+

Tape Memory

All the calculators listed except the ElectricCalc Pro has a tape listing memory.  The tape memory records all the arithmetic (+, -, x, ÷), percent (%), and parenthesis keystrokes.  For the square (x²) and square root (√), the numeric results are recorded.  The tape memory does not record any work involving any of the solver keys.

Tape Memory Controls

Clear the Tape:  [ On/C ] [ On/C ] (or do a Clear All)
Enter Tape Mode: [ Conv ] [ = ]
Scroll in Tape Mode: [ + ], [ - ]
Exit Tape Mode:  [ = ]


The table lists the number of steps can be stored:


Tradesman Calc - 4400 Construction Pro 5 - 4050 Machinist Calc Pro - 4087 Pipe Trades Pro - 4095
20 20 30 30

Sample Problems and Tape Memory

Problem 1:  1.99 x 50 + 100 =    (Result: 199.5)

All calculators return the same tape (spaces added for clarity):
01  1.99
02 x 50
03 + 100
TTL = 199.5

Problem 2:  4 1/2 in + 3 3/8 in =  (Result:  7 7/8 in)

All calculators return the same tape:
01   4 1/2 INCH
02 + 3 3/8 INCH
TTL = 7 7/8 INCH

Tape with arithmetic functions will work with units.

Problem 3:  ( 1.99 x 20 + 25 ) = + 10% =   (Result: 71.28)

Tradesman Calc (4400) tape:
01  ( 1.99
02  x 20
03  + ) 25
SUB = 64.8
05 +% 10
SUB % 71.28
TTL = 71.28

Pipe Trades Pro (4095) tape:
01  1.99    (first parenthesis is messing)
02  x 20
03  + ) 25
SUB = 64.8
05 +% 10
SUB % 71.28
TTL = 71.28

Construction Master 5 (4050) tape and 
Machinist Calc Pro (4087) tape:

The parenthesis are left out since neither of these calculators have parenthesis.  I have left the calculations in that order to ensure proper order of operations:
01  1.99    (first parenthesis is messing)
02  x 20
03  + 25
SUB = 64.8
05 +% 10
SUB % 71.28
TTL = 71.28

Problem 4:  15 x^2 x π  (Result:  706.85835)

All calculators return the same tape:
01 225   (shows 15^2)
02 x 3.141593
TTL = 706.85835

Problem 5:  24 x 59 = √   (Final Result:  √1416 = 37.62978)

All calculators return the same tape:
01 24
02 x 59 
TTL = 1416
The square root is totally ignored!

Problem 6:  24 √ x 59 √ =    (Result: 37.62978)

All calculators return the same tape...
01 4.898979 
02 x 7.681146
TTL = 37.62978

except the Trademsan Calc (4400) - sometimes:
01 24
02 x 7.681146
TTL = 37.62978   (this doesn't make sense!)

However, most of the time, I get the proper tape above.  This just a thing to watch out for.  

Note that √(24 * 59) = √24 * √59

Curious that none of the Calculator Industries finance and real estate calculators have the tape feature.  

The Recall Memory Feature:  Additional Calculations

The Recall Memory (Rcl) of the independent memory register returns three calculations:

TTL:  total or sum
AVG: average of all entries by M+
CNT:  count of all entries by M+

[ Rcl ] [ M+ ]: To display the contents of the independent register (total).
Keep pressing [ M+ ] to cycle through average, count, total.  Press [ On/C ] to exit.  

The notable exception is the ElectriCalc Pro:

[ Rcl ] [ 0 ]:  To display the contents of the independent register (total).
Keep pressing [ 0 ] to cycle through average, count, and total.  Press [ On/C ] to exit.  

Sample Data:
410, 359, 367, 388, 384

Recall memory M until it's cleared.  You can store 0 into Memory M or press RCL twice.  Insert presses of [ Conv ] when needed.  
410 M+
359 M+
367 M+
388 M+
384 M+

Note:  On the ElectriCalc Pro, press [ Stor ] [ M+ ] to use M+.

RCL M: 
TTL 1908  (TOTAL on the Machinist Calc Pro)
(Press M again)
AVG  381.6
(Press M again)
CNT  5   (COUNT on the Machinist Calc Pro)
(Press M again to cycle.)


That is a tour of the memory features on some of the industrial calculators from Calculated Industries.  Hope you find this useful!

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. 


Saturday, August 7, 2021

TI-95 ProCalc: Arithmetic and Geometric Series, Arithmetic-Geometric Mean

TI-95 ProCalc: Arithmetic and Geometric Series, Arithmetic-Geometric Mean




Welcome to TI-95 ProCalc month!  I think this is the first time I am going to post programs for this classic keystroke calculator.  


To see my review of the TI-95 ProCalc in 2020, click here:

http://edspi31415.blogspot.com/2020/07/retro-review-ti-95-procalc.html

Note, all programs on this series will use the one-letter variables A-Z, which can also be registers 000 - 025. 


Arithmetic Term and Sum


Arithmetic Series:

a + (a + d) + (a + 2d) + ...


Nth Term:

TERM = B = a + (n -1) * d


Sum of N Terms:

SUM = S = n / 2 * (2 * a + (n - 1) * d) = n / 2 * (a + TERM)


Alpha strings are enclosed in singular quotes (' ').


TI-95 ProCalc Program File ARI

Size: 72 bytes


'A+(A+D)+...'  BRK CLR


'A?' BRK STO A


+ ( 'N?' BRK STO N 


- 1 ) * 'D?' BRK = STO B


+ RCL A = * RCL N / 2 = STO S


'TERM=' COL 16 MRG B BRK 


CLR 'SUM=' COL 16 MRG S HLT


Examples

 

A = -1, D = 6, N = 20

Results:  TERM = 113, SUM = 1,120


A = 4.5, D = 1.8, N = 35

Results:  TERM = 65.7, SUM = 1,228.5



Geometric Series and Sum


Geometric Series:

a + a*r + a*r^2 + a*r^3 + ...


Nth Term:

TERM = B = a * r^(n-1)


Sum of N Terms:

SUM = S = (a * (1 - r^n)) / (1 - r) = ( -r * TERM + a ) / (1 - r )


TI-95 ProCalc Program File GMS

Size: 80 bytes


'A+A*R+A*R^2+...' BRK CLR


'A?' BRK STO A* 


'R?' BRK STO R y^x 


( 'N?' BRK - 1 ) = STO B

 

* RCL R +/- + RCL A = 


/ ( 1 - RCL R ) = STO S


'TERM=' COL 16 MRG B BRK


CLR 'SUM=' COL 16 MRG S HLT


Examples


A = 1,000, R = 1.36, N = 32

Results: TERM = 13,794,506.22, SUM = 52,109,801.29 


A = 1,000, R = 0.95, N = 26

Results: TERM = 277.3895731, SUM = 14,729.59811


Arithmetic-Geometric Mean


Given positive real numbers A and G, the follow algorithm repeats until A and G converge:


A_n+1 = (A_n + G_n) / 2

G_n+1 = √(A_n * G_n)


When convergence is satisfied to a set of decimal places, both A_final and G_final are calculated for comparison purposes.


TI-95 ProCalc Program File AGM

Size: 104 bytes


CLR 'ARITH/GEOM MEAN' PAU


CLR 'A?' BRK STO A


CLR 'G?' BRK STO G


CLR '# PLACES?' BRK +/- INV LOG STO T 


LBL 01 RCL A STO B RCL G STO H


( RCL B + RCL H ) / 2 = STO A


( RCL B * RCL H ) SQR = STO G


( RCL A - RCL G ) ABS = IF> T GTL 01 


RCL G x~t RCL A HLT


Examples


A = 2.4, G = 3.6, # PLACES = 6 (6 places)

Results:  2.969616524, 2.969616523


A = 105, G = 207, # PLACES = 6 (6 places)

Results:  151.6836959, 151.6836959


Source for Arithmetic and Geometric Term and Sum:


Lindeburg, Michael R. P.E.  Engineering Fundamentals: Quick Reference Cards Third Edition  Professional Publications, Inc.  Belmont, CA 1988 ISBN 0-932276-88-1


Commas added to the results for readability.  


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. 


Monday, August 2, 2021

Retro Review: Casio fx-5000F

 Retro Review:  Casio fx-5000F







Quick Facts


Company:  Casio

Year Introduced:  1987

Type:  Scientific, Formula Programming

Memory:  675 steps

Batteries:  2 x CR-2032

Operating System: Algebraic

Display:  Scrolling 14 character screen

Formula Library: 128 formulas


Keyboard and ALPHA Key


The Casio fx-5000F has the keyboard split into two sections:  the scientific keys (gray keys, upper half) and the number and arithmetic keys (black keys, lower half).   There is a physical ON-OFF switch on the left side of the thin keyboard and a contrast wheel on the right side.   


There is a fx-1000F where is the same fx-5000F, except the keyboard of the fx-1000F is angled and the hyperbolic functions are not available.  


The keyboard of the fx-5000F is busy.  The alpha characters are presented in red, including symbols and Greek letters.   In fact, the [ ALPHA ] key serves multiple purposes:


*  Alone, the uppercase letter is typed (bottom right hand corner of the key)

*  [ ALPHA ] [ : ] (SMALL) combination: a lowercase letter is typed

*  [ ALPHA ] [ ENG ] (GREEK) combination: a Greek character is typed (top right hand of the key)

*  [ ALPHA ] [ √ ] combination:  small uppercase letters

*  [ ALPHA ] [ x^2 ] combination: small lowercase letters

*  [ ALPHA ] [ log ] combination: small numbers

*  [ ALPHA ] [ ln ] combination:  calls up constants (upper left hand of the keyboard)


Modes Included


* Formula Programming

* Statistics:  Single Variable (SD) and Linear Regression (LR)

* Base Conversions and Boolean Math


A Library of Formulas


The fx-5000F has a library of 128 formulas, which includes topics like:


*  geometry

*  quadratic equations

*  electricity

*  physics

*  probability

*  combinatorics


For a full listing, you can download the calculator's manual here:


http://www.usersmanualguide.com/info_redirect/manuals/casio/FX-1000F__FX-5000F.pdf.shtml



User Formulas


The fx-5000F can handle user formulas.   User formulas that are meant for one-time or temporary can be entered directly in Run mode (1) by using the format:


var = expression


Example:


A=π*R^2


Variables on the right side of the equation will be prompted automatically.  No input or print commands are required.  Multiple statements can be chained in one of three ways:


*  Colon ( : ):  variable values are carried over in multiple calculations

*  Right Triangle (◢):  intermediate calculations are shown and variables are re-prompted

*  Right Angle Symbol/"Fraction" Symbol ( _| ):  intermediate calculations are not shown and variables are re-prompted


At the conclusion of each formula, all the variables are treated as local variables and cleared.  The practice is different from other formula calculators like the TI-68, where values are stored in variable registers for future use.


We can store user formulas in 12 program slots (0-9, A, B) in WRT (Write) mode (Mode 2).  Up to 675 steps can be used, and storing operations (→) are allowed.  


There are no loop (for, Σ) commands or comparison commands (if, >, <, =); hence each written formula must be a closed expression.  However, multiple formulas can be stored in a program slot.


Example:


P1:  S=A+B:D=A-B


This program asks for A and B and displays S (the sum) and D (difference).


Verdict


I enjoy using this calculator, it is small and compact.  The fx-5000F is hard to get at a bargain price as it is one of more sought after calculators, commanding a premium price.  The closest thing to the fx-5000F that I can think of is the Casio fx-5800P, which has a formula feature and a library of formulas.   


I find the formula library to be one of the most underrated features.  


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, August 1, 2021

Casio fx-115ES Plus: Ten Tips

 Casio fx-115ES Plus:  Ten Tips


This blog entry covers both the original and the current 2nd Edition of the Casio fx-115 ES Plus.  Here are ten things to help you know about some of the advanced features of the fx-115 ES Plus, including some things to watch out for.  


I believe this also covers the fx-991 ES Plus 2nd Edition (NOT the Classwiz).  


Tip 1:  Integer Division and Modulus


Find the quotient and remainder of a division problem by pressing [ALPHA] [ []/[] ] (÷R).   We can use this calculate the modulo of two positive numbers (use caution with negative numbers).


Example 1:  364 mod 20 = 4

364÷R20 returns 18, R = 4

(18 * 20 + 4 = 364)


Example 2:  178.5 mod 18.5 = 12 

178.5÷R18.5 returns 9,R=12

(9 * 18.5 + 12 = 178.5)


Tip 2:  Solving Quadratic Equations Also Calculates the Extrema Point


Solving quadratic equations in EQN mode will present the point of the parabola's extrema point (minimum or maximum).  Keep on pressing [ ↓ ] or [ = ].


[ Mode ],  5:  EQN,  3:  aX^2+bX+c=0


Example 1:  4 * x^2 + 13 * x + 5 = 0

[ 4, 13, 5]

X1 = (-13+√89)/8   (MthIO mode)

X2 = (-13-√89)/8

X-Value Minimum = -13/8

Y-Value Minimum = -89/16


Example 2:  -2 * x^2 + 5 * x + 10 = 0

[-2, 5, 10]

X1 = (5+√105)/4

X2 = (5-√105)/4

X-Value Maximum = 5/4

Y-Value Maximum = 105/8


Please note that results and coefficients are not stored in variables.  This goes for all the equations in EQN mode, including finding roots of a polynomial and solving simultaneous equations.  


Tip 3:  Solving Quadratic Inequalities


The Inequality mode solves inequalities for quadratic and cubic equations.  


[ MODE ], [ ↓ ], 1: INEQ,  1 for quadratic equation/2 for cubic equation, select inequality:


1:  >0

2:  <0

3:  ≥0

4:  ≤0


Example:  Solve x^3 + 2 * x - 3 > 0

[1, 0, 2, -3], option 2

Result:  1<X


Tip 4:  The Percent Function


The percent function ( [ SHIFT ] [ ( ] (%) ) just divides the argument by 100.  This can lead to puzzling results when working addition and subtraction problems involving percent.


8 + 10% returns 8.1   (10% converts it to 0.1)

8 - 10% returns 7.9


To add and subtract percents properly, do this instead:


8(1 + 10%) returns 8.8

8(1 - 10%) returns 7.2


Tip 5:  Limited Powers in Complex Mode


In complex mode (CMPLX), the only powers available to be calculated are x^2 and x^3.   To take any complex number to any real power will require the use of De Moivre's formula:


(x + yi)^n = r^n * cos θ + i * r^n * sin θ


My suggestion to use COMP mode, with the Rec and Pol conversions.  In CMPLX mode, rectangular/polar conversions do not store results.  In COMP mode, rectangular/polar conversions store results in the following variables:


X:  x, r

Y:  y, θ


Tip 6:  Solve Equations for Any Variable


We can use the general solver in COMP mode to solve for any variable.  The syntax is:


equation, variable;  press [ SHIFT ], [ CALC ] (SOLVE)


If variable is omitted, the variable to be solved for assumed to be X.


If the equation does not contain an equals sign (=), the solver finds the root for equation, assuming equation=0.


The entries and results are stored in variables. 


In Radians mode:

Example 1: y = x * sin x  with y =0.5

We are solving for x, so we can eliminate the variable argument.


Y=X*sin(X), [ SHIFT ], [ CALC ]

Enter 0.5 for Y

Enter a guess for X, I chose 1.

Result:  X = 0.7408409551, L-R = 0


Example:  2 * a - b = 3 * c, solve for b when a = 2 and c = -1.

2A-B=3C, B, [ SHIFT ], [ CALC ]

Enter 2 for A

Enter -1 for C

Enter a guess for B, I chose 1 (again).

Result:  B = 7, L-R = 0


Caution:  Some equations can not be solved on the fx-115 ES Plus.  In particular, involving integrals and derivatives.  


Tip 7:  The Repeating Decimal Bar


I think this may be only calculator (yet), that allows the use to easily type in a bar to represent repeating decimals.  


Example:

1.45454545454545454545....   can be typed with 1.45 with the bar over the 45, or 1, [ . ], [ ALPHA ], [ √ ] ( bar ) 45


Pressing [ = ] returns 16/11 (assuming MthIO is set).  Repeated uses of [ S←→D ] gives 1.(45), 1.454545455, 16/11.


Tip 8:  Integer Part and Greatest Integer Function (Floor)


Int ( [ ALPHA ] [ + ] ):  Returns the integer part of a number


Intg ( [ALPHA] [ - ] ):  Returns the floor function of a number, the largest integer that does not exceed the given number.  


Example 1:

Int(-12.96) returns -12

Intg(-12.96) returns -13


To find the (calculator) fractional part of a number, enter n - Int(n).  


Tip 9:  Use CALC to Formula Evaluation


In addition to the Table mode, using [ CALC ] in COMP mode allows the user to evaluate a formula using different expressions.   As long as you keep pressing [ = ], the prompting for variables and calculations repeat.  The latest values are updated in the memory registers.


Expressions may take the form of:


variable = expression


To results are stored in the designated variable.


Example:   Evaluate for y when x = 0.2, x = 0.7, and x = 1.2 when y = x^3 + 15 * log x

Y=X^3+15*log(X)   

[ CALC ]

Enter 0.2 for X, [ = ]

Result #1: -10.49255007, [ = ]

Enter 0.7 for X, [ = ]

Result #2: -2.6665294, [ = ]

Enter 1.2 for X, [ = ]

Result #3:  -0.5402813093 


Press [ AC ] to exit.


Tip 10:  Previous Answers are Stored Two-Deep in COMP Mode


In COMP mode, we have both Ans and PreAns ([ALPHA], [ Ans ]).  PreAns recalls the answer from two calculations ago.  


Be careful, switching modes with most likely clear the PreAns register (zero).  Also, PreAns is only available in COMP mode.


Bonus:  Checking the fx-115ES Plus 2nd Edition's ID  (2nd Edition only)


You can see the calculator's ID along with a bar code which allows to test whether the calculator is a genuine Casio calculator.  


I hope you find these tips helpful,


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

Saturday, July 31, 2021

HP 48G: Truth Plots

HP 48G: Truth Plots





Calculators Featured:  HP 48G, HP 48G+, HP 48GX


Truth Plots


On the HP 48G, a truth plot tests an inequality or equality for each point of a Cartesian grid.   If the statement is true, the pixel is plotted.  If not, the pixel remains unchanged.  Since each pixel is being tested, a truth plot does take some time to plot.  


Example: The inequality x + y ≤ 2, plots a pixel every time inequality is true.


To access a truth plot on the HP 48G:


1.  Press [ right shift ], [ 8 ] (PLOT).  

2.  The expression is stored in EQ.  Default:  X is the independent variable and Y is the dependent variable.  

3.  Make any necessary adjustments.  If you have to reset your parameters, press [ left shift ], [ 8 ] (PLOT), (PPAR), (RESET).


Truth plots are not unique to the HP 48G series: the current HP Prime can easily and quickly execute truth plots.  The truth plots are renamed "Advanced Graphing App".


Here are examples of truth plots, with the HP 48GX is one the left, the HP Prime is on the right.  The window is set up as x = [-5, 5] and y = [-5,5 ]. 


x^2 + y^2 ≥ 5




(x^3 - y^2) mod 5 ≥ 3




sin(x*y) < 3*cos(x*y)

Radians angle mode is used


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, July 25, 2021

Casio fx-5800P and TI-84 Plus CE: Simplify Radicals and August TI-95 ProCalc Month

Casio fx-5800P and TI-84 Plus CE: Simplify Radicals and August TI-95 ProCalc Month


Introduction

The program SIMPRAD simplifies radicals of any positive integer and power.

Casio fx-5800P Program: SIMPRAD

"2021-05-16 EWS"
"x√(N)->A x√(B)"
"INTEGERS"
"X"?->X
"N"?->N
Xx√(N)->R
If Frac(R)=0
Then R
Stop
IfEnd
Int(R)->Q
N->B
1->A
While Q≠1
B÷(Q^(X))->S
If Frac(S)=0
Then Q×A->A
S->B
IfEnd
Q-1->Q
WhileEnd
"A x√(B):"⊿
A⊿
B

TI-84 Plus CE Program:  SIMPRAD


Or type: 

"2021-05-16 EWS"
ClrHome
Disp "√(N)->A*x√(B)","ENTER INTEGERS"
Input "X? ",X
Input "N? ",N
Xx√N→R
If fPart(R)=0
Then
Disp R
Stop
End
iPart(R)→Q
N→B
1→A
While Q≠1
B/(Q^X)→S
If fPart(S)=0
Then
Q*A→A
S→B
End
Q-1→Q
End
Disp toString(X)+"x√("+toString(N)+")="
Disp toString(A)+"*"+toString(X)+"x√("+toString(B)+")"

Examples 




TI-95 ProCalc Month:  August 2021




Every Saturday in August 2021 (8/7/21, 8/14/21, 8/21/21, 8/28/21) will feature the Texas Instruments TI-95 ProCalc from the late 1980s.   


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. 





Saturday, July 24, 2021

HP 48G: Multiple Equation Solver and The Equation Library

HP 48G: Multiple Equation Solver and The Equation Library 





Calculators Featured:  HP 48G, HP 48G+, HP 48GX


The Equation Solver


Any program in the HP 48G family, we can set up the calculator to solve a set of equations.  The commands involved:


STEQ:  Store a list of equations in the variable EQ.  The variable EQ is used in the solver.


MINIT:  This command initializes the solver.  The system variable MPAR is created.


MITM:  This optional command allows the solver to have a custom title and arrange the variables in a custom order.  Arguments:  2:  title string, 1:  the list of variables.  The list can have a blank string, " ".  All the variables must be included.  


MSOLVR:  Starts the solver.


In the solver:


( var ):  store

[ left shift ] ( var ):  solve

[ right shift ] ( var ):  recall


An RPL Template:


<< ... 

{ list of equations }  STEQ MINIT

"title" { list of variables } MITM

MSOLVR

... >>


HP 48G Program:  HCURVE


<<  DEG

'T=R*TAN(Δ/2)'

'L=R*Δ*π/180'

'C=2*R*SIN(Δ/2)'

3 →LIST STEQ MINIT

"Horizontal Curve"

{ Δ R T L C } MITM

MSOLVR >>


Variables:


Δ = central angle (in degrees)

R = central radius

T = tangent length

L = arc length of the horizontal curve

C = chord length


One of Δ or R must be known.  When Δ and R are both entered or solved for, L, T, and C can be solved for.


Example 1:


Inputs:

Δ: 45

R: 100


Outputs:

T = 41.4213562373

L = 78.5398163398

C = 76.536686473


Example 2:


Inputs:

L:  1706

Δ: 54


Outputs:

R = 181.012221943

T = 2.2303337494

C = 164.35658198


The Equation Library


The equation library can be accessed by pressing [ right shift ] [ 3 ].  A list of various subjects are listed.  Options:


[ F1 ] (SI):  SI units are used

[ F2 ] (ENGL):  English units are used

[ F3 ] (UNIT): turn units on and off


Once a topic is selected, another menu s presented where all the equations are contained.  Depending on the topic, one or more equations are selected.  When ready, select (SOLV).  


Example 1:  Triangle


Plane Geometry -> Triangle -> Equation 2 of 6


A=(b*h)/2

P=b+√(v^2+h^2)+√((b-v)^2+h^2)





Example:  (default SI units are used)


Inputs:

P: 100 cm

b: 40 cm

h: 35 cm


Outputs:

V = 20 cm

A = 700 cm^2


Example 2:  Longitude Waves


Waves -> Longitudinal Waves -> Equation 1 for 4


s = sm cos( k * x - ω * t )

v = λ * f

k = 2 * π / λ

ω = 2 * π * f


Example:  (default SI units are used)


Inputs:

λ: 0.2264 cm

f: 1400 Hz

t: 15 s

sm: 1.5 cm


Outputs: 

v = 314.44 m/s

k = 0.279750013677 r/cm

ω = 8976.45943005 r/s


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. 


Monday, July 19, 2021

Review: TI-84 Plus CE Python

 Review:  TI-84 Plus CE Python


From the looks of the packaging, the CE Python edition is set to replace the non-Python CE.


Python Comes to the TI-84 CE Python

The TI-84 Plus CE Python has started to arrive in the United States.  I was able to purchase a TI-84 Plus CE Python calculator at a local Target (I'm in the greater Los Angeles area).   At the time, Target had three colors:  blue, red, and white.  Since I already have a blue TI-84 Plus CE ("plain", but M hardware revision), I purchased a white calculator.  I was able to get the Python at a price of what the original CE sells for.  Prices vary around $100 to $150, so shop for the back to school sales and discounts.  

The TI-84 Plus CE Python is the TI-84 Plus CE but with the chip added so that the calculator can run Python programs.  You get all the features of the original TI-84 Plus CE, along with all the standard apps (Finance, CabriJr, CelSheet, Conics, PlySmlt2, etc).  However, there is a slight difference in memory:

TI-84 Plus CE:   154,000 bytes RAM, 3MB bytes ROM
TI-84 Plus CE Python:  149,000 bytes RAM, 3MB bytes ROM

It's still plenty of room to work.  

The TI-84 Plus CE Python comes with OS 5.6 installed.  Hence, ASM (assembly) programming is not supported unless a hack is applied to it.  

This review will focus on the Python part, for the rest, please see my review of the original TI-84 Plus CE here, way back in May 2015:

Python



The TI-84 Plus CE Python runs Micropython.  There are several standard modules: math, random, and time, with TI's custom modules:  ti_system, ti_plotlib (graphing), ti_hub (TI Basic programming also gets hub commands), and ti_rover.

I like the menu structure, with most of the commands giving the syntax of each command.   I had a much easier time selecting the commands from the Fns... menu than typing them myself.   For several commands, once they are selected from the Fns... menus, we get a secondary prompt to choose a attribute.  

Examples:  

(1) plt.axes gives a choice of turning them On and Off.   

(2) plt.plot gives a prompt of four possible markers.

Calling commands from Fns... menus pastes the parenthesis and brackets.

Context menus are also available through the [ math ], ( list ), and the trig keys ([ sin ], [ cos ], [ tan ]).  More can be discovered.  In Python, both the [(-)] and [ - ] keys can be used to enter negative numbers.

What is going to take me some time to get used to is the way the [ alpha ] key operates in the Python app.  The [ alpha ] toggles from lower case (default) and upper case.   I can still use the [ 2nd ] [ alpha ] combination to enter alpha-lock but I will also need to use the [ 2nd ] [ alpha ] sequence to exit alpha-lock.  

To either delete or send Python files to archive, press [ 2nd ] [ mem ] [ 2 ] [ alpha ] [ apps ] (B), not listed in the Prgm (program) variables.   Python scripts are counted as App (application) variables (AppVars).  

I find the Python app easy to use.

Below are some sample scripts, which you can download here:

The zip file contains:
LISTDEMO:  demonstration of lists
CMPXARIT:  arithmetic with complex numbers
PLOTFX84:  simple plot of y(x) 

Remember, these are application variables (AppVar Python), not program files.   They are not (as of this blog date) able to be edited on the TI Connect CE software. 

Still Wishing

Still waiting for base conversions, vectors functions (cross, dot, norm, angle between vectors), allowing the days between dates allow for four digit years (the current limits are 1980-2079), complex numbers to be allowed in trigonometric, exponential, and logarithm functions.  Maybe in OS 6.x, fingers crossed, putting it out there in the Universe.  


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, July 18, 2021

TI-84 Plus CE: Rolling Fate Dice

 TI-84 Plus CE: Rolling Fate Dice 



Fate Dice:  Evil Hat Productions

Website:  https://www.evilhat.com/home/fate-dice/


Roll Your Fate!


Fate Dice, a fudge dice, are used in many role-playing games.  The dice pictured above is just one variety of fudge dice used.   These Fate Dice are four six-sided dice consisting of two pluses, two blanks, and two minuses on each die.


Therefore, on a single roll of a die, the roller has 1/3 chance of getting a plus, blank, or minus on each roll.  The program FATEDICE below takes this account and uses a random number generator between -1 (for minus), 0 (for blank), and 1 (for plus).  The program draws the result of the four dice on the graphic screen.   


The resulting graphic screen has the following parameters:


* All functions and plots turned off.

* All drawing is cleared.

* Xmin = 0, Xmax = 13, Xscl = 1 (x scale)

* Ymin = 0, Ymax = 7,  Yscl = 1 (y scale)


 TI-84 Plus CE Program:  ROLLFATE

Version 5.x or higher required (Wait command)


"EWS 2021-05-15"

ClrHome

Disp "FATE DICE"

FnOff 

PlotsOff 

randInt(­1,1,4)→L₆

Disp "ROLLING..."

Wait .5

ClrDraw

0→Xmin:13→Xmax:1→Xscl

0→Ymin:7→Ymax:1→Yscl

For(I,1,10,3)

(I+2)/3→J

Line(I,3,I+2,3,NAVY)

Line(I,1,I+2,1,NAVY)

Line(I,3,I,1,NAVY)

Line(I+2,3,I+2,1,NAVY)

If abs(L₆(J))=1

Line(I+.5,2,I+1.5,2,GREEN)

If L₆(J)=1

Line(I+1,2.5,I+1,1.5,GREEN)

End

TextColor(BLUE)

Text(10,10,"HERE IS YOUR ROLL:")



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...