Post Reply 
What is the correct result?
04-23-2024, 12:38 AM
Post: #66
RE: What is the correct result?
(04-22-2024 08:41 PM)carey Wrote:  
(04-22-2024 07:04 PM)Matt Agajanian Wrote:  So, is this to say MatLab and Numpy are the final word on this conundrum?
I don’t think there is a “conundrum”, nor a “final word.” Matlab and Numpy are very popular scientific and engineering tools (though there are others).

While it might sound convenient to have an international standard for all operator precedences and implied multiplications, analogous to the international standard (S.I) for units, note that even for units, for which the case for standardization is even more compelling, there exist many fields and applications that don’t subscribe to the S.I. system (e.g., mass of diamonds in carets).

In my opinion, we must learn to live with (and maybe even value, as in “vive la différence”) variety in matters such as operator precedence and implied multiplication as these conventions are created by people, while in understanding nature (e.g., in physics), simplicity is the desired goal. But when in doubt, use PEMDAS! Smile

In addition, when in doubt, write the expression in a manner which it’s clearly written so as to prevent ambiguity.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
What is the correct result? - hp41cx - 03-17-2024, 03:03 PM
RE: What is the correct result? - SammysHP - 03-17-2024, 04:33 PM
RE: What is the correct result? - hp41cx - 03-17-2024, 05:37 PM
RE: What is the correct result? - KeithB - 03-18-2024, 02:04 PM
RE: What is the correct result? - vaklaff - 03-18-2024, 06:57 PM
RE: What is the correct result? - johnb - 03-18-2024, 11:49 PM
RE: What is the correct result? - carey - 03-19-2024, 12:29 AM
RE: What is the correct result? - johnb - 03-18-2024, 11:40 PM
RE: What is the correct result? - KeithB - 03-19-2024, 01:58 PM
RE: What is the correct result? - mfleming - 03-19-2024, 08:43 PM
RE: What is the correct result? - johnb - 03-19-2024, 09:32 PM
RE: What is the correct result? - carey - 03-19-2024, 05:45 PM
RE: What is the correct result? - johnb - 03-19-2024, 09:19 PM
RE: What is the correct result? - KeithB - 03-19-2024, 09:41 PM
RE: What is the correct result? - vaklaff - 03-20-2024, 10:31 AM
RE: What is the correct result? - carey - 03-20-2024, 12:28 PM
RE: What is the correct result? - johnb - 03-20-2024, 03:50 PM
RE: What is the correct result? - mfleming - 03-20-2024, 09:21 PM
RE: What is the correct result? - DGM - 03-21-2024, 04:44 AM
RE: What is the correct result? - Jlouis - 03-21-2024, 07:04 PM
RE: What is the correct result? - carey - 03-21-2024, 09:19 PM
RE: What is the correct result? - carey - 03-21-2024, 08:24 PM
RE: What is the correct result? - mfleming - 03-21-2024, 08:58 PM
RE: What is the correct result? - johnb - 03-22-2024, 04:18 PM
RE: What is the correct result? - carey - 04-13-2024, 01:26 AM
RE: What is the correct result? - KeithB - 04-15-2024, 04:31 PM
RE: What is the correct result? - dm319 - 04-15-2024, 04:44 PM
RE: What is the correct result? - dm319 - 04-16-2024, 02:26 PM
RE: What is the correct result? - vaklaff - 04-17-2024, 04:23 PM
RE: What is the correct result? - dm319 - 04-18-2024, 12:33 PM
RE: What is the correct result? - dm319 - 04-16-2024, 02:05 PM
RE: What is the correct result? - carey - 04-22-2024, 12:50 AM
RE: What is the correct result? - klesl - 04-22-2024, 10:19 AM
RE: What is the correct result? - carey - 04-22-2024, 05:07 PM
RE: What is the correct result? - carey - 04-22-2024, 08:41 PM
RE: What is the correct result? - Matt Agajanian - 04-23-2024 12:38 AM



User(s) browsing this thread: 1 Guest(s)