Bitcoin Forum
April 26, 2024, 06:48:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Order of Operations  (Read 237 times)
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
February 16, 2019, 04:38:04 PM
Last edit: February 18, 2019, 01:53:02 AM by notbatman
 #1

Somebody (reddit) has tried to convince me that the order of operations has been inverted and is now right --> left except within parentheses.

Quote
...

Example:

a = 7 + 3^2 * (10 / 2)

a = 7 + 3^2 * 5

a = 7 + 9 * 5

a = 7 + 45

a = 52

...

When do we start counting the alphabet starting with Z?


fake edit:

I asked Google and it says 7 + 9 * 5 = 52. What compiler does Google use?



real edit:

So basically (7 + 9) * 5 ≠ 7 + 9 * 5.



edit 2:

Tell me a single benefit of having sign precedence? Why is it suddenly in use? The vector is entering form a non-zero point, how does this intrusive rule do anything but add unneeded complexity which equates to additional energy expenditure adding unneeded order? It takes less energy to get 80 than it does to get 52.



edit 3:

I must protest this delay in calculation, signs don't weight nothing!



edit 4:

Lets see if I can simplify this,



7 + 9 * 5

correct:

   "What is seven plus nine times five?" = 80

new backwards inefficient sign style with useless calculation:

   "What is nine times five plus seven?" = 52

The order is A, B, C, ..., this is a fixed value it never changes and if it does then it's wrong; the dog chewed on it and the saliva caused a short circuit and it corrupted the computer memory and the dogs owner who wrote the software forgot to add a CRC check. The alphabet does not start at B, the same with numbers; you don't start counting at 2!





edit 5:

I drew a picture to illustrate the problem:

If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714114085
Hero Member
*
Offline Offline

Posts: 1714114085

View Profile Personal Message (Offline)

Ignore
1714114085
Reply with quote  #2

1714114085
Report to moderator
1714114085
Hero Member
*
Offline Offline

Posts: 1714114085

View Profile Personal Message (Offline)

Ignore
1714114085
Reply with quote  #2

1714114085
Report to moderator
1714114085
Hero Member
*
Offline Offline

Posts: 1714114085

View Profile Personal Message (Offline)

Ignore
1714114085
Reply with quote  #2

1714114085
Report to moderator
Foxpup
Legendary
*
Offline Offline

Activity: 4340
Merit: 3042


Vile Vixen and Miss Bitcointalk 2021-2023


View Profile
February 17, 2019, 07:32:24 AM
 #2

TLDR: ITT, notbatman fails fifth grade arithmetic.

Will pretend to do unspeakable things (while actually eating a taco) for bitcoins: 1K6d1EviQKX3SVKjPYmJGyWBb1avbmCFM4
I am not on the scammers' paradise known as Telegram! Do not believe anyone claiming to be me off-forum without a signed message from the above address! Accept no excuses and make no exceptions!
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
February 17, 2019, 01:25:18 PM
 #3

^^^ Not it's not a fail because the current rule is #1 useless and #2 adds an extra step, possibly two thus increasing the energy required to calculate. You have to weigh the operators and possibly make a jump before you mash your numbers together instead of just starting with the leftmost number every time.

Give me one reason [the logic] for why multiplication should be given precedence over starting the calculation with the leftmost number? Why is multiplication greater than addition or division; all operators weigh zero, only numbers have weight. The operators have to be defined as complex numbers, you can't have hidden definitions.
Ciscopro2000
Member
**
Offline Offline

Activity: 495
Merit: 10


View Profile
February 17, 2019, 05:54:41 PM
 #4

PEMDAS

In cases like these, we follow the order of operations. The order in which operations should be done is abbreviated as PEMDAS:
1. Parentheses
2. Exponents
3. Multiplication and Division (from left to right)
4. Addition and Subtraction (from left to right)
bivaetjetakoe
Jr. Member
*
Offline Offline

Activity: 420
Merit: 1


View Profile
February 17, 2019, 06:58:30 PM
 #5

Math lessons from notbatman Grin
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
February 17, 2019, 10:04:34 PM
Last edit: February 18, 2019, 01:45:08 AM by notbatman
 #6

Instances of PEMDAS searches on YouTube are ZERO before August 2008. What is this garbage?

Sauce:

https://trends.google.com/trends/explore?date=all_2008&geo=US&gprop=youtube&q=PEMDAS


What about XOR, where does this operation fit into the hierarchy, is it more important than addition?

7 + 9 ⊕ 5 = x.

Does x = 19, or x = 21?
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3208



View Profile
February 18, 2019, 01:52:46 PM
Last edit: February 19, 2019, 09:40:26 PM by odolvlobo
Merited by Foxpup (3)
 #7

Personally, I prefer

ax2+bx+c

to

a(x2)+(bx)+c

and similarly

a0+a1x+a2x2+a3x3+...+anxn

to

a0+(a1x)+(a2(x2))+(a3(x3))+...+(an(xn))

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
March 02, 2019, 01:56:21 AM
 #8

7 + 9 * 5 = 80



God hates fags.
SaltySpitoon
Legendary
*
Offline Offline

Activity: 2590
Merit: 2154


Welcome to the SaltySpitoon, how Tough are ya?


View Profile
March 02, 2019, 05:07:55 AM
 #9

Whoever told you on Reddit that order of operation is now right to left is incorrect. It is still the same as always, left to right with parentheses > exponents > multiplication/division > addition/subtraction taking precedence in that order.

7+9 *5 is 52

write it out in two steps, 7+9  and then * 5 is the same notation as (7+9) * 5 which as you pointed out is 80. These are just arbitrary conventions set a long time ago so that everyone would read math the same way.
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
March 02, 2019, 02:21:22 PM
Last edit: March 02, 2019, 03:32:04 PM by notbatman
 #10

^^^ Solar powered calculator says the answer to 7 + 9 * 5 is 80. This useless convention that does nothing but add unneeded complexity to calculations must have been implemented not so long ago...

Why oh why would a useless and unneeded convention that prioritizes multiplication (the star) over addition (the cross) be implemented? Who could be behind this seemingly recent change?





How about you get pet your cat in wrong direction for a little while, see what kind of reaction you get.
BADecker
Legendary
*
Offline Offline

Activity: 3766
Merit: 1367


View Profile
March 02, 2019, 05:06:10 PM
 #11

^^^ It depends on what reaction you are looking for. If you don't get the reaction you want, you are doing it the wrong way.

As SaltySpitoon says above, it all has to do with the general understanding, so that we are all on the same page.

Cool

BUDESONIDE essentially cures Covid symptoms in one day to one week >>> https://budesonideworks.com/.
Hydroxychloroquine is being used against Covid with great success >>> https://altcensored.com/watch?v=otRN0X6F81c.
Masks are stupid. Watch the first 5 minutes >>> https://www.bitchute.com/video/rlWESmrijl8Q/.
Don't be afraid to donate Bitcoin. Thank you. >>> 1JDJotyxZLFF8akGCxHeqMkD4YrrTmEAwz
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3208



View Profile
March 02, 2019, 08:42:57 PM
 #12

^^^ Solar powered calculator says the answer to 7 + 9 * 5 is 80. This useless convention that does nothing but add unneeded complexity to calculations must have been implemented not so long ago...

Why oh why would a useless and unneeded convention that prioritizes multiplication (the star) over addition (the cross) be implemented? Who could be behind this seemingly recent change?

Recent? Maybe for you.

The rule specifying the order of multiplication and addition is hundreds of years old.

Here is some information: http://mathforum.org/library/drmath/view/52582.html

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
notbatman (OP)
Legendary
*
Offline Offline

Activity: 2212
Merit: 1038



View Profile
March 03, 2019, 04:17:35 AM
Last edit: March 03, 2019, 04:42:12 AM by notbatman
 #13

^^^ Solar powered calculator says the answer to 7 + 9 * 5 is 80. This useless convention that does nothing but add unneeded complexity to calculations must have been implemented not so long ago...

Why oh why would a useless and unneeded convention that prioritizes multiplication (the star) over addition (the cross) be implemented? Who could be behind this seemingly recent change?

Recent? Maybe for you.

The rule specifying the order of multiplication and addition is hundreds of years old.

Here is some information: http://mathforum.org/library/drmath/view/52582.html


Quote
History of Order of Operations

Date: 11/22/2000 at 10:56:37
From: Brian Huffine
Subject: History of Order of Operations

I was teaching a computer class and the history of order of operations
came up. Where, when and with whom did the order of operations first
originate? ...


Date: 11/22/2000 at 12:12:26
From: Doctor Peterson
Subject: Re: History of Order of Operations

Hi, Brian.
...

I spent some time researching this question, because it is asked
frequently, but I have not found a definitive answer yet. ...








edit:

Oh, there more in the links Doctor Peterson provides:

Quote
More on Order of Operations


Date: 02/13/2000 at 13:59:53
From: Jerome Breitenbach
Subject: Order of Arithmetic Operations

Hi,

I'm a professor in the field of electrical engineering. Occasionally I
remind my students of the precedence order regarding the four
arithmetic operations: addition, subtraction, multiplication, and
division. Apparently though, based upon viewing numerous Web sites and
the messages of various on-line discussion groups, there seems to be
some controversy regarding these simple rules! ...

... my search for an "authority" on this matter has been nearly
fruitless. ...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!