Bug in SIMPLIFY? (hp 50g) - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Bug in SIMPLIFY? (hp 50g) (/thread-154558.html) |
Bug in SIMPLIFY? (hp 50g) - Luca - 08-17-2009 I am very surprised by the behavior of SIMPLIFY.
I type the expression, in the equation writer: 1 + M - MI press SIMPLIFY, and I get 1 / (M + 3), which is the expected answer. Now, I try with another expression: Q * M - (Q - 1)I hit SIMPLIFY, and I get... 0.259259259... !!!
Why in one case it simplifies only down to symbols (correctly) while Many thanks,
Luca
Re: Bug in SIMPLIFY? (hp 50g) - Hal Bitton in Boise - 08-18-2009 Hi again Luca, Re: Bug in SIMPLIFY? (hp 50g) - dbatiz - 08-18-2009 I recommend sitting down with the manual and doing a quick read on approx -v- exact mode and the different types of numbers. Imagine "1" is handled differently than "1." Yes, the decimal tells the calculator to handle it as a value and not a number.
For example, on the stack type 1 ENT 2 /
If you type 1 ENT 2. / Once you figure out how to manage your variables, and get solid on the types of values you have stored and where they are, you'll get predictable behavior. There are several great tutorials available through links here in the forum and at the HP site, Very respectfully,
David
Re: Bug in SIMPLIFY? (hp 50g) - Luca - 08-19-2009 Thanks... I don't think the problem is approx vs. exact mode.
The problem is that I think it is a very bad idea that expression simplification involves also substituting into the expression the numerical values of variables, fishing these variables from the directory and its parents in the directory tree. This "bug" (which, to some, may be a feature) prevents me from using the 50g as a full-fledged calculator: either I use it to do symbolic manipulation (in which case I have to be careful not to have numeric variables), or as a numerical calculator (in which case variables are ok). I may still find a work style that works for me, but I disagree with the design decision on SIMPLIFY.
Luca
Re: Bug in SIMPLIFY? (hp 50g) - Nigel J Dowrick - 08-19-2009 I've looked at this and I find it confusing too. I've defined the variables Q and M as you have. An expression containing only one of the two variables (e.g., Q^2+3) is unaffected by SIMPLIFY. However, an expression containing both (e.g., Q^2+3+M) gets converted into a number at once! I do not fully understand the reasoning behind this difference in behaviour. (Neither the "numeric" nor the "approx" mode settings are ticked.) Of course, there are many "simplification" commands on the HP-50g: EXPAN, EXPAND, SEVAL, plus lots specific to trigonometry, powers, and logarithms. Give me a TI-89 for elementary algebra any day! Less powerful, no doubt, but it does what is expected. To get around your problem (assuming you don't have a TI-89) you can create a subdirectory of HOME in which you store no variables. So long as you store no numeric variables in HOME either, you can simplify without risk of numeric substitutions if you change to this directory first. Not an ideal solution, and I can't help feeling that there ought to be another way around this, but it should work.
Nigel (still rather puzzled)
Re: Bug in SIMPLIFY? (hp 50g) - Luca - 08-20-2009 Yes, indeed you are right: SIMPLIFY has a different behavior on one or two-variable expressions.
I created a directory with only two variables, T and M, which have real numbers as values.
Perhaps the 50g CAS was designed around schoolkids, who need to simplify one-variable expressions but evaluate multi-variable ones? It certainly does not make sense to me. It is too bad, because this severely limits the usefulness of CAS, which should be the shining point of this calculator. For quick math, my 32SII is a lot faster and simpler to use (and I do not need a .pdf manual to find what I need). I will give the TI-89 a try... I have the impression that the 50g is complicated without being really advanced.
Luca
Re: Bug in SIMPLIFY? (hp 50g) - Nigel J Dowrick - 08-20-2009 Just to be clear about the TI-89: it too will substitute in numeric values when a symbolic expression is entered. However:
I know the TI is an algebraic machine, but its editor that lets you paste any previous entry or result into the command line gets around the usual disadvantages of algebraic logic, at least for me. As scientific calculators, I love both machines; the Multiple Equation Solver of the HP machine is truly wonderful. But for algebra or elementary calculus give me the TI any time. It just works!
Nigel
|