Showing posts with label Hewlett Packard calculators. Show all posts
Showing posts with label Hewlett Packard calculators. Show all posts

Saturday, February 4, 2023

RCL 40 Book On Sale

RCL 40 Book On Sale



The fantastic book, RCL 40: Recollection, Reinvention, & HP Calculators, edited by W.A.C. Mier-Jedrezejowic, Ph. D, Mark Power, and Bruce Horrocks is a collection of articles from mathematicians, programmers, and calculator enthusiasts.  This books covers the legendary HP 41C, the Swiss Micros equivalent, the DM41 family, to engineers' experiences working for Hewlett Packard.   I wrote a chapter in the book where I talk about my experiences with the HP 41C and DM41X.   

RCL 40 is a celebration of the HP 41C and calculators.   

To order, please click here.  The book is published by the HPCC in the United Kingdom.  

Eddie 



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

HP Prime Firmware Update ( Firmware 10077) (Available through Archive)

HP Prime Firmware Update ( Firmware 10077)

Update:  Due to the insane amount of spam on this blog thread, all comments on this article are suppressed.   7/24/2021

7/27/2016 Update:   Sadly, version 10077 has been pulled due to issues and HP decided to take it off out of caution.  The latest firmware is back to 8151.  :(

http://www.hpmuseum.org/forum/thread-6085-post-57343.html#pid57343

9/1/2016:  Some users have downgraded back to 8151 and may had problems with the touch screen.  HP put the version 10077 back up so these users can restore their calculators.  

Link:  ftp://ftp.hp.com/pub/calculators/Prime/Archive/

If you have not used version 10077 yet, the writer of this blog assumes no warranty or risk.

http://www.hpmuseum.org/forum/thread-6085-page-5.html

Access


It is advised that you use the Internet Explorer browser to download the updated firmware.    This new firmware for the HP Prime (April 2016) provides new functionality and corrects a lot of issues.  A more complete list is included in the zip file, but let’s go over some highlights, which include creating backup files and jpg files (see towards the end):

What’s New in Firmware 10077?

Creating and Restoring Backups Directly on the Calculator



This maybe a first for graphing calculators, but you can create backup files directly on the HP Prime.  Press [ Shift ], [(toolbox)] (Mem) to access the memory list.  Backups is now listed as one of the memory types.  You can create a new backup, restore an old one, or delete old backups.

Picture Background on Plot Screens



The Prime can now have a picture as a background on the Plot Screen.  To set a picture, press [ Shift ], [ Plot ] (Plot Setup), and scroll to Page 3 of the options.  Pictures can be stretched, centered, or plotted on a specific (x,y) position.  Of course, you can choose No Background.


Sketching Functions (Functions and Statistics 2 Var app)



You can now draw certain classes of functions directly on HP Prime screen without entering an expression on the Symb page.  On the Function App’s Plot screen, select the soft key (Fcn), then Sketch.   Draw the function (by touch) on the screen.  The Prime attempts to fit a common equation to the curve in which you may be prompted to selected between two or three functions.  If the function is accepted, it is added to the Function list on the Symb screen.

You can draw a fit in a similar matter of the Statistics 2 Var app.  The difference is that you must have data in the Num database (and able to be plotted). 

Definition and Translations – Function App



The (Fcn) soft menu on the Function’s Plot screen has two additional functions:

*  Definition:  You can change the definition of a function by tapping the bottom of the screen and editing to the screen.  This command is also given in the Advanced Graphing App.

*  Transformation:  You can drag a function (up, down, left, and/or right) when Transformation is activated.  The edited function is stored once the transformation is accepted.

* Update (5/1/2016).  In transformation mode, you can use pinching and "reverse"-pinching motions to compress and widen the function.  Thank you to Eried of HPMOC Forums.  


*  Also thanks to a reader (no name was given) that you can also press the (Form) softkey during Transformation mode to change the form of the function.  (Refer to the comments below)


The UNION Function



The UNION function (Toolbox, Lists) of two or more numbers/lists returns a list of all numbers listed without duplicates.


The DIFFERENCE Function now accepts multiple lists



The DIFFERENCE function (Toolbox, Lists) returns all elements that are present in one and only one list.

Help Screen Text can now be Copied



You can now copy and paste the help text.  The entire help text for that page is selected.  For the moment there is no way of selecting only parts of the help text.

CHOOSE is now available in the Spreadsheet App






The CHOOSE command is available in the Spreadsheet App.   The syntax is:

=CHOOSE(cell where to store the index number, “title”, range of data)

In the example (see the picture listed) above, if have in Cell B2:

=CHOOSE(B6, “Tier Number”, D2:D4)

The index number is designated to B6 based on selection and the number corresponding to the index number in the range is entered on cell B2.


New Gradian Angle Mode



When the HP Prime is in Gradian angle mode, the angle indicator will have a “g” on the top right corner of the screen.  Gradian mode sets the system variable HAngle = 2.
 Just a note, be careful when using ARG in Gradian mode when the real part is negative in Home mode.

Σ can now use local variables in Programs




CAS.int can now use local variables in Programs




Plot-Table Screen Copy to Graphic Objects




When in a Plot-Table View is in use, press [ Shift ], [ View ] (Copy).  You are presented with choose menu to select the graphic object (G1-G9).

In programming mode the display is Graphic Object 0 (G0).  Use BLIT to copy the temporary graphic object (G1-G9) to the display (G0).

Syntax:  BLIT(target graphic object [G#],  source graphic object [G#])

PIXON and PIXON_P allows for alpha blend



Syntax:  PIXON([G#], x, y, {color, alpha}), PIXON_P([G#], x, y, {color, alpha})

Alpha range from 0 (opaque) to 255 (transparent)

Creating an JPG Image







1.  Bring up your image you want to create as a .jpg file.  Copy it to a temporary graphic object G1-G9.  Please remember what App you are using it will be important.
* Plot Screen:  Press [ Shift ], [ View ] (Copy).
* Program:    Use the BLIT to store G0 (the screen) to another graphic object.  Make sure you store the image into a temp graph object G1 – G9.
2.  Back at home, press the (App) soft key, find the app you are working with, select 4. Modes, and select AFiles.
3. As your argument, type the string “filename.jpg”. Then use ≔ outside of the AFiles and type the graphic file you are using.  For example:  AFiles(“sineimpact.jpg”)≔G1 stores the image stored in G1 to the jpg file sineimpact.


4.  Opening the Connectivity Kit, you can see your file stored under the designated Application.  Note that if you want to use save the graphic object on a PC/Mac, you’ll have to use other means since there is currently no direct export function.  (Two ideas: Open the file and save it from the computer’s engine or if the graphic object was created by the emulator, open it and save it as a screen shot)



That is just some of the improvements and additions to Version 10077.  Download it, as all my programs for the HP Prime will use this firmware version until further notice.

Thank you,

Eddie


This blog is property of Edward Shore, 2016.
















Sunday, October 4, 2015

HHC 2015 Conference Talks


HP Prime.  Picture from HHC 2014 Conference Materials

The HHC 2015 took place in Nashville a couple of weeks ago (September 26 and 27, 2015).  I was not able to go this year (my father passed away).

Here are some videos that hpcalc.org posted on YouTube. I thank both hpcalc.org and the HPMOC.  I always have a great time at these conference and really hope to go next year’s conference.


Links to individual talks are listed below, but you can access the channel hpcalc.org on YouTube to get access to all of them as well.


Enjoy!


Eddie




HHC 2015: TI vs. HP and Fast Mode – Gene Wright

https://www.youtube.com/watch?v=WIN2y-SnA6c

HHC 2015: HP-41CL Update – Gene Wright

https://www.youtube.com/watch?v=M4B3SS6D6sw

HHC 2015: Prime Savage (speed/"accuracy" comparisons) - Włodek Mier-Jędrzejowicz

https://www.youtube.com/watch?v=h5c5YsMO5VM

HHC 2015: Genetic Algorithm Optimization using the HP Prime – Namir Shammas

https://www.youtube.com/watch?v=-qwrcpdV4_k

HHC 2015: HP-65 Pro emulator for the Apple iPad – Namir Shammas

https://www.youtube.com/watch?v=6pBP1e3d-H0

HHC 2015: Fritzing, China, and the NP-25 – Jim Johnson

https://www.youtube.com/watch?v=5wyOlnvBDfs

HHC 2015: A Numeric Compression Algorithm for the HP Prime (VCR Plus+) - Jackie Woldering

https://www.youtube.com/watch?v=ofCRF1iVaY4

HHC 2015: Informal Demos, System upgrades, etc. – Geoff Quickfall

https://www.youtube.com/watch?v=wCUNOdwv3pg

HHC 2015: FRAM71 Introduction – Bob Prosperi

https://www.youtube.com/watch?v=Z6rN5-a6daA

HHC 2015: Random Number Generators using Integer Array Shuffling with the HP Prime – Namir Shmmas

https://www.youtube.com/watch?v=m4gGUhYn-5E

HHC 2015: Particle Swarm Optimization using the HP Prime – Namir Shmmas

https://www.youtube.com/watch?v=ZECsjOWIPx4

HHC 2015: Virtual HP-IL (and related topics) Update – Bob Prosperi

https://www.youtube.com/watch?v=Jul5fetcFSE

HHC 2015: Review of DM-41 and the brand-new DM-15L

- Richard Nelson
https://www.youtube.com/watch?v=tMSxxZ0QnNU

HHC 2015: Children of Stone – A Self-Publishing Saga - Mary Woldering

https://www.youtube.com/watch?v=_KEU5fmjPMs

HHC 2015: The Glacial Pace of Scaled Reptiles - Eric Smith

https://www.youtube.com/watch?v=FKt4Ijqp3hw

HHC 2015: Update on 342 page Calculator References List Project – Felix Gross

https://www.youtube.com/watch?v=r1vsk3c3L0U

HHC 2015: The WP-43S (The specification needs a platform) – Jake Schwartz

https://www.youtube.com/watch?v=jqdQhsunei4

HHC 2015: HP 50g System Flash Upgrade - Günter Schink

https://www.youtube.com/watch?v=5tTBjqRnpOw

HHC 2015: Woodstocks in the Twenty-First Century - Geoff Quickfall

https://www.youtube.com/watch?v=d4tYbkMdv6Y



This blog is property of Edward Shore.  2015


Thursday, August 6, 2015

HP 41C vs HP 50g Guide (for Starters)

HP 41C vs HP 50g Guide (for Starters)

Generally, HP 41C and HP 50g programming languages are somewhat similar, as long as you operate the HP 50g in RPN mode.  Here are some key differences to keep in mind:

* There are no LBL (label) or GTO (go to) commands with the HP 50g. 

* Subroutines are typically in the beginning of the main program, stored, and are called when necessary.

* Variables start with a letter, can be almost any length, and can contain various types of objects.  Variable names are surrounded by single quotes ( ‘ ‘ ).  Store and recall the contents of the variables like normal.  For the HP 50g, undefined variables are used as CAS (computer algebraic system) algebraic objects.   Erase the variable by typing in the variable as such
variable’,  and execute the PURGE function.

* There is no ASTO/ARCL command.  Strings are designated with double quotes. 

* DSE and ISG are replaced with FOR loops.  In general, a FOR loop for the HP 50g is:

starting_number  ending_number  FOR variable
commands
NEXT

* There are no line numbers in the HP 50g programming language.  For comparisons, and IF-THEN-ELSE-END structure is used.  The ELSE portion is optional.

IF  y  x   (==, ≠, <, > , ≤, ≥)
THEN (do these commands if the test is true)
ELSE (do these commands if the test is false)
END

* Programs begin and end with double arrow symbols.   and .   So do subroutines.

For further information on programming the HP 50g, which was posted in October 2013, please check out the tutorial series, which starts here:



List of Commands that work exactly the same on the HP 41C and HP 50g:

+
CHS
FS?
%
-
CLΣ
FS?C
%CH
*
DEG
GRAD
SCI
/
ENG
HMS+
SF
ABS
FC?
HMS-
SIGN
ACOS
FC?C
MOD
SIN
ASIN
FIX
LOG
TAN

Basic Statistics Functions

The commands MEAN, SDEV, Σ+, Σ-, and CLΣ related to the date matrix ΣDAT.  

Base Conversions

The HP 50g has four base conversion (integer) modes:  OCT (Octal), DEC (Decimal), HEX (Hexadecimal), and BIN (Binary). The 41C only has two:  OCT and DEC.   Base integers are designated with a hashtag and lower case indicator at the end of the integer.  For example:  #827o,   #52d, #A36h, and #1101b.   The indicators are:  o for Octal, d for Decimal, h for Hexadecimal, and b for Binary.

Before converting base types, the number needs to be converted to a real number format using the command B→R.   The change modes.  Convert back to base by using R→B. 

List of commands that have the same functions, but different names:

HP 41C
HP 50g
HP 41C
HP 50g
1/X
INV
FACT
!
10↑X
ALOG
CLD
CLLCD
BEEP/TONE
Frequency (in HZ),
Time (in seconds), BEEP
INT
IP
D-R
D→R
HMS
→HMS
R-D
R→D
HR
HMS→
E↑X
EXP
PI
π
E↑X-1
EXPM
SQRT
LN1+X
LNP1
X↑2
SQ
SIZE*
MEM
Y↑X
^
X<>Y
SWAP
X=Y?
== 
LASTX*
LASTARG
X≠Y?
ST+
STO+
X>Y?
<   (y<x)
ST-
STO-
X<Y?
>  (y>x)
ST*
STO*
X>=Y?
≤   (y≤x)
ST/
STO/
X<=Y?
≥  (y≥x)


* SIZE has a different function for the HP 50g: returning the dimension of a list, matrix, or string.

* LASTARG returns all the arguments last used by a command, not just the last used x-argument. (Level 1).

Note: This should cover most of the basic differences between the HP 41C and HP 50g.   If I am missing something or something needs correction, please let me know in the comments.  Thank you!


Sources:   Hewlett Packard. “Owner’s Handbook and Programming Guide” 1979.  Printed March 1980.

Eddie



This blog is property of Edward Shore – 2015.

Friday, May 15, 2015

HP Prime Firmware 7820 Released

HP Prime Software Version 7820

DISCLAIMER: I am not an employee of Hewlett Packard.  

Rev. 7820, 4/27/2015.


You can also find the link here:  http://www.hpmuseum.org/forum/thread-3820.html

The above link provides files for the calculator, connectivity kit, and emulator.

Shout out to Tim Wessman, cyrille de brébisson, and the HP Calculator Group. 

Let’s take a look at some of the new features with Version 7820 (4/27/2015):


Draw a Function



This blows me away.  I don’t think posting still pictures shows this new feature justice.   You can sketch a function by your finger (or mouse if you are using the hardware), and Prime draws a function that fits your sketch.  Furthermore, the function is defined and can be analyzed just as if you typed the functions on the Symb screen.  The sketch function draws functions of the following types:  linear, quadratic, exponential, natural logarithmic, and sinusoidal. To access this feature, go to the Plot screen, select Menu, then
Fcn, and Sketch… (option 1). 


Date Functions



One of my favorite calculator functions of all time is the days between dates function.  Usually, this function is found mostly on financial calculators and some graphing calculators.  I am happy to report that the days between dates function (DDAYS) has finally made it to the HP Prime (a user program is no longer needed). 
DDAYS(date1, date2):  calculate the days between date1 and date2.  Dates follow this format:  yyyy.mmdd.  This is the international date format (ISO standard): year, month, date.

DATEADD(date, n):  This determines the date n days from the specified date, where n can be positive (determining a future date) or negative (determining a past date).

DAYOFWEEK(date):  Returns the day of the week of a certain date.
1 – Monday
2 – Tuesday
3 – Wednesday
4 – Thursday
5 – Friday
6 – Saturday
7 – Sunday

These functions are found in the catalog or if you are in programming mode, through the Cmds-More menu.

Product Template



A new template to calculate the product of the function is added.  This template works well in both the Home and the CAS modes.

Pie Graph and Other 1-Variable Stat Plots



The HP Prime has an official pie graph feature in the Statistics1Var app.  Additional plots also include dot, stem and leaf, and control.  Stem and leaf plots are tables where numbers are arranged by their last digit (leaf) by their first digit(s) (stem).

Renaming of Columns, Mark Options in the Statistics Apps



Columns that used in the Statistics1Var and Statistics2Var apps are no longer restricted to the names C0 – C9.   Each column can contain up to 10,000 entries.  In the Symb menu, you can determine the color of the regression curve (2Var) and the markers.

To note, the symbolic variables of the Statistics2Var have changed.  Gone are the S1Type through the S5Type.  The variables S1 through S5 have been expanded.  S1 through S5 are lists containing the following items:

{ independent column,  dependent column, frequency column (can be blank), regression equation, plot type, color of the plot, mark type, color of the mark}

Plot Types:
1 – Linear
2 – Logarithmic
3 – Exponential
4 – Power
5 – Exponent
6 – Inverse
7 – Logistic
8 – Quadratic
9 – Cubic
10 – Quartic
11 – Trigonometric
12 – Median-Median (new plot type)
13 – User Defined

Mark Types:
1 – small open circles
2 -  boxes
3 -  thin “X”s
4 -  crosses
5 -  thick diamonds
6 -  thick “X”s
7 -  solid circles
8 -  thin diamonds
9 -  large open circles


Expanded EDITLIST and EDITMAT



Both EDITLIST and EDITMAT have expanded capabilities.  You can add a title and make said list/matrix read-only.  The general format is:

EDITLIST(list variable or list, title as a string, read-only indicator)

EDITMAT(matrix variable or matrix, title as a string, read-only indicator)

The read-only indicator only needs to have any number other than zero to make such object read-only.  Both the title and read-only indicator arguments are optional.

Universal Setting Variables and Application Basic Setting Variables

The HP Prime now differentiates between universal setting variables (HAngle, HFormat, etc.) from application specific setting variables (AAngle, AFormat, etc.). 

Additional Distribution Functions



New density, cumulative, and inverse (lower tail) distribution functions are available for the following distributions:

Beta:  beatad, beatad_cdf, betad_icdf
Exponential: exponential, exponential_cdf, exponential_icdf
Gamma:  gammad, gammad_cdf, gammad_icdf
Geometric:  GEOMETRIC, GEOMETRIC_CDF, GEOMETRIC_ICDF
Negative Binomial: negbinomial, negbinomial_cdf, negbinomial_icdf
Uniform:  uniform, uniform_cdf, uniform_icdf
Weibull:  weibull, weibull_cdf, weibull_icdf

All these functions can be found in the catalog.

Additional random number generators based on the binomial, chi square, fisher, geometric, Poisson, and student distribution has been added in the catalog.  The new random generators have the prefix “rand”. 



Programming:  Running the Programs through the Catalog ([Shift] + [ 1 ]) allows non-real input



It used to be that if you ran programs through the Program Catalog, we could only input real numbers as entries.   Thankfully, that is no longer the case.  Now we can input lists, matrices, and complex numbers.

One Directional Limits



The limit function now allows the use of plus and minus symbols to determine one-directional limits.  It won’t sing One Direction songs though (thankfully!).

This is just a few of the new features.  There is A LOT more detailed information about the above and all the new features, including improved copy and paste procedures, 1 way ANOVA analysis, display of graphic objects G0 through G9 on the home screen, and upper and lower case text conversion functions, included in the documentation of the new firmware. 

All the future programs posted on this blog will be done using the Version 7820 firmware. 

--------------------------------------------------------------------------------------------------------

The Museum of HP Calculators

Here a great place to discuss calculators, specifically HP calculators.  It is a really great place for HP calculator owners.  The link to the forum is here:  http://www.hpmuseum.org/forum/.

-------------------------------------------------------------------------------------------------------

Eddie



This blog is property of Edward Shore.  2015.

Python – Earth’s Radius and Gravity in US Units

Python – Earth’s Radius and Gravity in US Units Introduction The following script, gravus2.py, estimates the Earth’s gravity i...