What is the correct result?
|
04-15-2024, 01:12 PM
(This post was last modified: 04-15-2024 01:13 PM by Eddie W. Shore.)
Post: #37
|
|||
|
|||
RE: What is the correct result?
My first thought is go with what Tony Barlow said in Gene Wrights' presentation when Barlow reviewed the ill-fated never-released TI-88:
"1. Kill Implied Multiplication. 2. Kill Implied Multiplication. 3. Kill Implied Multiplication." https://www.youtube.com/watch?v=wl16wzmn3wA Scroll to 13:24. I'm for consistency. I would do what CAS calculators that allow more than one-character variable names: require multiplication symbols (dots, crosses, asterisks) in between operators to be multiplied. Every time. In programs I write, I put multiplication symbols every time. Yes it costs me some bytes but clarity is well worth the cost. Notation like f(expression) should always be a function call, and 2(expression) would return an error message, requiring a multiplication symbol and/or perhaps an extra set of parenthesis if we really meant to prioritize (2 * (expression)). Second, PEMDAS vs PEJMDAS seems to align with the way the world views the standard units in science: PEMDAS: ft, sec, lbs (well, at least in the United States' teachers) PEJMDAS: m, sec, kg Third, I'm not a fan of "pick a lane" but in this case, the world needs to pick a method and stick to it, make it universal so there is no confusion. Americans, especially American teachers may have to swallow their pride on this one. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)