I checked for the programs I had done up to that point and found (to my surprise) that there was a VERY clear relationship - I was expecting some linkage but not so strong as I found. A rough rule is: "Whatever the size on the PC, triple it and add 30 to get the size on the calculator".
If you're interested - the precise relationship is y = 2.936x + 33.137, where x is the number of bytes on the PC and y is the number on the calculator. This had a correlation of 0.9938, which is very high.
Note that this investigation was
done on the original 38G. I would expect that the relationship would be similar
on any of the later models.
51. Is it possible to convert to other number bases on the the calculator? In particular, binary and hexadecimal?Question: I'm a sci/eng student from UWA, and was wondering if there were any programs/aplets available which allow you to work with numbers of different bases. Unlike most other scientific calculators, the HP seems to have forgotten about base conversions. In engineering, where converting between decimal, binary and hexadecimal numbers is essential, it would be extremely handy to have a function on the calculator to do it for me!! Any advice or direction would be appreciated :).
Question submitted by: Various people over the past 2 years.
Answer: I agree that it's a pity that they didn't include a function for it in the MATH menu. I wrote two programs which convert from any base to 10 and from 10 to any base respectively. Click here to download them. Note that they are programs not aplets - they must be downloaded using the Connectivity Kit into the Program view not into the APLET view. If you don't have the Connectivity Kit and have to type it in yourself, then you can find the two programs displayed as images here along with a large collection of other small programs.
Update 24/12/02: A new aplet has recently been released for the HP39G called Library L1542 which will let you do conversions really easily and far better than my programs. See the Misc Aplets page to download a copy.
Update 24/11/07: I've never had the time to check whether this library will
work on later models such as the 39g+, 39gs and 40gs. If you try it an can
answer this question please let me know.
53. How can I transfer data from columns or lists on the calculator to a PC so that it can be used in Excel or some other application?Answer: The problem is that when you use the Connectivity software to transfer an aplet or a list (or a matrix) to a PC the result is stored in binary (1s and 0s). This is not readable by any other application, such as a spreadsheet. Nor is it in a form that is readable by you! The trick to transferring the data in a readable form is to use the only calculator object which is NOT stored in binary on a PC - a program.
Suppose you have some data which is stored in C1 of the Statistics aplet and you want to transfer it to a PC and paste it into an Excel spreadsheet. The first step is to transfer the data into a program. Make sure in the APLET view that the Statistics aplet is the active one by STARTing it.
Go to the Program
view and create a NEW program called DataStore (or whatever else you
wish). When you create it you will find that you will be EDITing the program.
(SK4) so that the contents of C1 transfer instead of just the name.
Now use the Connectivity software to transfer the program to a directory on
the PC. The result can be seen on the left. The file you want is the one
labelled DATASTOR.000 We need to open this file in Excel. Start
Excel and use the File -> Open command. You will need to change the
file matching criteria (see below right) so that the window shows 'All files'
rather than just *.xls files otherwise the file you want will not be visible.
Once you have pasted the data into Excel you will find that it has been imported as a row. This is not always convenient and you may wish to change this to a column. To do this just highlight the row of data and Edit -> Copy it. Reposition the cursor to the cell where you would like the column to start. Now do an Edit ->Paste Special. In the box which pops up you need to tick the box labelled 'Transpose' (see right).
Meanwhile you need to use the File/SaveAs command to save the Excel data in a special format called CSV, which stands for "comma separated". Once this has been done you can exit from Excel and open the CSV file in Notepad. Highlight the data, which should be separated by commas and use the Edit -> Copy command to transfer it to the clipboard.
Now use the ADK (or as a last resort Windows Notepad) to open and edit the file you transfered from the calculator. DO NOT use any other editors as they can damage the file. Remove the dummy data, leaving the curly brackets in place. Paste the data from the CSV file into this position. Check carefully to ensure that the format of the list is correct for the calculator. If you're using Windows Notepad then don't play around with the characters at the top of the file!
Transfer the program back to the
calculator. In the Program view, EDIT the program and put a
C1 at the end of the list. This means that the
program now contains a command to the data into C1. RUN the program
and check that it has successfully transferred. Delete the program at this
point to save
memory unless there's a very good reason to keep it.
Note: If you are using an aplet and strange things have started to happen then click here before continuing.So what do you do if your calculator has locked up (frozen) and you have important information on it that you don't want to lose?
First: Learn from this! The socket at the top of the calculator is there so that you can plug a cable into it and save your precious information onto a computer. DO IT! Go out and buy a cable - save your notes, programs and aplets regularly so that you won't worry if this happens again.
Second: Try these possible remedies, in the order that they appear below.
Suppose that you have a set of bivariate (2VAR) data which is not linear and you have used the SYMB SETUP view to change to an exponential fit. You may have already noticed that the value of the correlation coefficient does not change and so, on the 38G, there seems to be no way to tell numerically whether your change was justified. The reason for this is that the correlation coefficient is a linear measure and, mathematically, can't be used with other fits. The value of RelErr is there to compare other curves. RelErr is defined as the measure of the relative error in predicted values when compared to data values and its formula is given right.
Unlike the correlation coefficient, RelErr is not constrained to a range from
zero to 1, with 1 being best. RelErr has no upper limit and the lower the
value of RelErr, the better the fit is considered to be.
If you now change to the Matrix view and EDIT matrix M1, you will find the roots displayed. You can also refer to them on an individual basis in the HOME view by referring to M1(1), M1(2) etc.
Some of these are:
In addition to the above, MichaŽl De Coninck sent me a list of SYSEVALS and LIBEVALS that overlaps in some places but also contributes new material and may be of use to readers. I do NOT vouch for it's accuracy and you should be aware that using SYSEVALs and LIBEVALs can cause loss of memory on your calculator. The worst that can happen is that it will be reset back to factory defaults.
Last modified: 19 Dec 2007 Sitemap Home Contact Me