mortgageman
Well-known Member
- Joined
- Jun 30, 2005
- Messages
- 2,015
According to math rules 2^3^2 should equal 2^9 (you go right to left in this case). Excel gives 64. Is this a known bug?
Gene Klein
Gene Klein
Maybe that is the perfect question to test for understanding. You're not looking for one answer or you would clarify the question. Maybe the better student is the one who "got it wrong"!!!
I believe the correct term is "design feature".Naturally - and once the student is aware of Excel's "mnmn mnmn" (<= fill in whatever word you like, but I'm not allowed to say bug here) he or she will do so. There is no disagreement that the student (or anyone) would NEED to use parenthesis. My only point is that the parenthesis are mathematically NOT REQUIRED. Just like they are not required in 2+3x4. Nobody (or at least nobody who knows the rules of math) would think to type in 2+(3x4). In fact imagine if you were using a version of Excel that required you to type in 2+(3x4) to get the right answer. And when you complained, the response was "Excel was designed to operate Left to Right - without regard to the rules of Math. So stop complaining because there is no bug". I suspect you would insist that the design flaw (is that better?) be corrected. Since a power to power comes up far less frequently, most of you are less concerned. I think the principle is the same though.
Gene Klein
I believe the correct term is "design feature".
I think programmers and spreadsheet users find it nearly inconceivable that Excel should interpret 2^3^2 as a power of a power.
Mathematicians may think differently, particularly if they (mistakenly in my view) see Excel as designed for doing Math.
Maple (which is a serious Math program IMHO) shows you the equation in stacked superscript format, so there is no doubt about what its going to do.
Mathematica (also a serious Math program) prefers using a POWER() function where the third and subsequent arguments are treated unambiguously as stacked superscripts, but does also allow a^b^c^d to be translated into its POWER(function).
Most hand calculators apart from top-end scientific ones seem to follow the left-to-right unstacked rules.
Personally speaking, since I have been more of a programmer than a mathematician for the last xx years I am firmly in the LTR unstacked camp, but I can accept that some would regard me as belonging to the ignorant majority!
What is your objective -- to get everyone to agree that it's wrong?
And if everyone did, what would it accomplish in terms of your practice in using Excel?
The serenity prayer seems relevant here, mm.