a 32sii equation bug?



Post: #7

A recent thread dealt with integrating the bell curve integrand, exp(-x^2), on the HP48G, and I have been playing with the problem on my recently acquired 32sii.

When trying to integrate this expression as an equation, the calculator does not seem to like exp(-x^2) in that very form and never seems to converge. But it seems to like exp(-(x^2)), 1/exp(x^2), and exp(-sq(x)) just fine. It also works adequately when the function is provided as an RPN program (RCL X, x^2, +/-, e^x).

The 33S handles exp(-x^2) just fine in that form, without any need for extra parentheses or alternate representations of the quantity to be antilogged.

Weird....

Les


Post: #8

In this case, the 32sii can't tell minus from a signed numer, which has a higher operator precedence as the exponentiation. So, +/- seems to be the same token as '-' in the equation editor.

If you write explicitly exp(0-x^2) instead, everything works fine.

Edit: And congrats to the 32sii! :-)


Edited: 17 Mar 2007, 8:54 a.m.


Post: #9

Quote:
And congrats to the 32sii! :-)

I am particularly proud of this acquistion. It is in impeccable shape, and I got it for $130 from a fellow Canadian, so no customs and shipping was inexpensive and quick. I didn't think this was such a big deal, but then I learned that some folks pay twice that for this item. As a lover of the 33S, I am right at home with it, though the tiny memory size takes some adjustment.

It came with a nice case too--the thicker lined stitched leatherette one, not the thin molded vinyl one.

Les

Post: #10

It isn't a bug as much as a poorly implemented system for "unary minus" that is at the root of the problem. There is a "bug" aspect to the unary minus with the 32sii but that is not really the point.

If you read the manual for the 32sii, and then read the 33s manual, you will see that in fact the "unary minus" function was changed and improved (simplified) in the 33s. The 32sii has a bad behavior with it in equations and reading the manual, you can see that it might be trouble.

I think Jordi Hidalgo's DATAFILE article on the 33s has some discussion of this, too.

As Thomas points out, just use the parenthesis whenever you have leading minuses, and it makes life easier in the 32sii.


Post: #11

Quote:
If you read the manual for the 32sii, and then read the 33s manual, you will see that in fact the "unary minus" function was changed and improved (simplified) in the 33s. The 32sii has a bad behavior with it in equations and reading the manual, you can see that it might be trouble.

So the much-denigrated 33S actually IMPROVED on something in a pre-Kinpo calculator? And a Pioneer at that?

Egad, the scandal!

Les


Post: #12

Actually I think that the 33s improved on the equation solver too. It seems that the 33sii is an iterative solver and so can fall over.

The people who kindly responded to this question,

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv015.cgi?read=85299

explain it much more eloquently.

Rav


Forum Jump: