When squaring 2.25 i got 5.052499998 on my HP calculator. I know it is normal for a calculator to loose accuracy after "a lot" of calculation (Forensics) steps, but just squaring a number is only one step; why it is not 5.0625 ?
Thanks!
About squaring a number on my HP...
|
|
« Next Oldest | Next Newest »
|
▼
12-09-2010, 12:58 PM
When squaring 2.25 i got 5.052499998 on my HP calculator. I know it is normal for a calculator to loose accuracy after "a lot" of calculation (Forensics) steps, but just squaring a number is only one step; why it is not 5.0625 ?
▼
12-09-2010, 01:44 PM
Don't see how this is possible, unless your 2.25 was really 2.247776679 and your mode was set to FIX 2, but then the square would not be displayed to 9 decimals. Which HP model?
12-09-2010, 03:20 PM
This is a strange result. I, too, am curious about what model you're using. On the three HP calculators I own I get 5.0625. Mark
12-09-2010, 03:21 PM
Assume you got 5.062499998 ;) Nevertheless, I don't know any HP model doing something like this, if you started with plain 9/4. So, please tell us what you used. ▼
12-09-2010, 03:52 PM
Looks like he took the. 2* log(2.25) then e^x. On my 71b the answer for: log(2.25)* 2=x exp(x) Gives 5.06249999999
Geoff Edited: 9 Dec 2010, 3:53 p.m.
12-09-2010, 03:45 PM
Their is no model number on it. It's a calculator that was given to me by my father some months ago. The only indication i can see is Hewlett Packard - 500mW on the back near feets I guess that their was a sticker on the back probably with model number and serial but only glue is still present...
I usually have a HP-41C for RPN but my batteries are dead so i pick up this one. I also have a business HP, but these two gives good answers on squaring. ▼
12-09-2010, 03:58 PM
2 alternate proposals for progressing: 1. Take a picture of the keyboard using your digital camera. Publish it here and let us guess. 2. Compare with the calcs documented in this very museum yourself. HTH
12-09-2010, 04:38 PM
Quote:Sounds like one of the Classics? ▼
12-09-2010, 04:50 PM
Hi Martin, FYI, Woodstocks have the same "Wattage".
12-10-2010, 05:31 AM
The sticker of the back of my HP-45 claims a power consumption of 500 MW. Those old LED machines certainly went through the batteries quickly! Nigel ▼
12-10-2010, 11:41 AM
Quote:A sticker on one of my HP-35 calcs tells at this position something about 500MV. Seems not everyone being able to print and attach a sticker is knowledgeable about units (and maybe that was one reason for discarding such stickers on the Spices ;) or those special stickers are simply a fake?) ... for sake of fairness, all other stickers in my collection are correct. ▼
12-10-2010, 12:55 PM
Walter, B^)
Ren ▼
12-10-2010, 01:36 PM
In Austria, they live in peculiarly named places known generically as Willages, and when you go to a quaint shop to buy an alpenhorn, you get out your Wisa card, as they don't take American Express. ▼
12-10-2010, 09:33 PM
Anyway, what's with the LED flashlights? I recently got a Maglite XL100. Really like it.
12-10-2010, 01:59 PM
Oh, do you think these calculators were localized already? So far, I did know local units only over the ocean d8-) Bill, you'll be better off asking for an Alphorn instead, else I doubt you'll get what you wanted. And chances are better in Switzerland anyway ... (oooh, these foreign countries are complicated, aren't they ;) - but remember: everyone is a foreigner almost everywhere).
Edited: 10 Dec 2010, 2:40 p.m. ▼
12-10-2010, 06:31 PM
Haha Walter! I thought about the fact that Switzerland is the home of the alphorn--but decided to leave it alone...So far, I've only heard Germans and Austrians say "willage" and "wisa" but perhaps I might hear it in Switzerland, too. I couldn't think quickly of an Austrian tourist trinket, and I like the alphorn. Now you've got me wondering if the alphorn shares a border with Suisse, or if it is on t'other side of Oesterreich. As for the extra sylylable in alp(en)horn, I guess I just like the sound of it better that way!:-P Like Old Times versus Olden Times. Haha to your last sentence--so, so true but we don't think that way, even though it IS true!
Edited: 10 Dec 2010, 6:34 p.m. ▼
12-11-2010, 03:13 AM
Quote:... like a Sepplhut, or order a Jagertee, Einspänner, Almdudler (these last three are beverages since you were looking for a trinket, if you know what I mean) Quote:AFAIK the Alphorn lives in d'r düütsche Schwiiz (the German speaking part of Switzerland) only and is not endemic bei d'r armi östriichische Verwandtschaft (with the poor Austrian relatives) nor anywhere else. Quote:Works different in German: If we want some text looking really old fashioned, we put some "y" and "th" where an "i" or "t" is found now, like e.g. Nothschrey instead of Notschrei - but that won't work schematically. And we'll use a Gothic font, of course. Quote:Thanks - I think said sentence should show up here in regular intervals.
Edited: 13 Dec 2010, 5:46 a.m.
12-09-2010, 04:53 PM
It could be an HP-35. At least that would match the following:
Does it have a xy key? How do you calculate the result? What is the answer for:
2.25 As Geoff explained above logarithm and exponential function are internally used by xy (or yx on later models). That's why you don't get an exact result.
Edited: 9 Dec 2010, 4:57 p.m.
12-09-2010, 06:03 PM
I saw the picture on this wonderful museum and it is an HP-35 that my father gaves me. Probably the algorythm in programming the first scientific calculator was not accurate for exponentiation and log calculation. Thanks! ▼
12-09-2010, 06:36 PM
If I remember correctly, the first HP calculators that calculated Y^X accurately for integer X were the HP-19C/29C and HP-67/97. The earlier models calculate Y^X as exp(X*log(Y)) for all cases, while the later ones use an iterative squaring/multiplication algorithm when X is an integer. The new algorithm is not complicated, but the earlier calculators didn't have enough ROM space for such niceties. UPDATE: The iterative algorithm is like this:
float pow(float y, int x) {
I seem to remember reading about this in an HP Journal issue, but I don't remember which one. Edited: 9 Dec 2010, 6:55 p.m. ▼
12-09-2010, 07:00 PM
On a 32sii, if you do e^(2*ln(2.25) and then show the mantissa, or fix 11, you see 5.062 499 999 99
If you set fix 10 (that's dot 0), of course it shows 5.062500...
Edited: 9 Dec 2010, 7:03 p.m. ▼
12-09-2010, 07:23 PM
I just tried this on the HP-25: 2 ENTER 2 yx returns 3.999999999, and 2 ENTER 3 yx returns 8.000000002... exactly the same results as you get when you calculate 2 ln 2 × ex and 2 ln 3 × ex, respectively. Oh, and 2.25 ENTER 2 yx returns 5.062499998.
12-09-2010, 09:07 PM
Quote: It is not a matter of accuracy. The HP-35 log and exp algorithms are accurate enough, it just happens the result of exp(2*ln(2.25)) would be exact only if the computations were carried out with infinite digits. Free42 Decimal, for instance, returns 5.062499999999999999999412 internally, which is of course rounded to 5.0625 when the display is set to ALL. Gerson. ▼
12-09-2010, 09:46 PM
It's been a long, long time ago but back in the early days of hand-held calculators didn't we all understand that if we wanted to accurately square a number we should simply multiply the number by itself (e.g., Enter followed by x) rather than use the y^x function?
12-09-2010, 10:06 PM
Quote: Hi Gerson!
This is a bit OT -- but which release of Free42 are you using? - Thomas
Edited: 9 Dec 2010, 10:31 p.m. |