(42S) ESym: Casio-like engineering symbols (m, n, f, k, M, etc.)
|
06-08-2019, 06:38 PM
Post: #1
|
|||
|
|||
(42S) ESym: Casio-like engineering symbols (m, n, f, k, M, etc.)
Casios have this cool engineering mode that uses actual engineering prefix symbols (milli, nano, femto, kilo, Giga, etc.) rather than simple numeric exponents, both for display, and entry. You can also adjust the display of the current value by transposing up or down through the symbols (1 M will be changed to 1000 k, for instance).
This program will work on the 42S, as well as Free42 and the DM42, and provides very similar functionality. Usage: XEQ "ESYM" to start the program and display the menu. "EXIT" to close the menu. To enter a number with an engineering symbol, place the number in X as usual, and press any of the symbol keys. The value in X will be changed to reflect the new exponent, and the original value plus selected symbol will be displayed in Alpha. To display the current X value in engineering format, simply press the "SHOW" menu key, which appears in all three pages of the menu. The value in X will not be changed, but will be displayed in engineering format with the appropriate symbol attached (i.e. 0 <= mantissa < 1000). To transpose up or down through the engineering symbols, press either "SYM↑" or "SYM↓". Pressing these keys multiple times will step through all available symbols, or if the value in X has changed (and is not of an incompatible type), they will automatically convert X to engineering format, then shift up or down one symbol. The value in the X register always represents the "true" value of X, meaning you don't have to worry about "converting" values to the same engineering symbol to do math. Simply input values and their respective symbols. For example: - Input 1 n - Input 2100 p - Press + to add them together - Press "SHOW" to see 3.1 n - Press "SYM↓" to see 3100 p (notice that X does not change) - Enter 1.5 n - Press - - Press "SHOW" to see 1.6 n The program does type checks, and will fail safely with an "Invalid Type" message if you attempt to give it a matrix, complex number, or string. Code: 00 { 744-Byte Prgm } |
|||
06-08-2019, 07:23 PM
Post: #2
|
|||
|
|||
RE: (42S) ESym: Casio-like engineering symbols (m, n, f, k, M, etc.)
nice! thanks.
Cambridge, UK 41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47 Casio, Rockwell 18R |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)