New year, new good morning thread!

Good morning! Check out my dad’s table saw.

@ashfurrow technically the minus sign is a multiplication with -1, therefore it could make sense that it has lower precedence than exponentiation.

Wolfram Alfa gives the same result (even for -3^2), and they are math guys.

Follow

@ytg @ashfurrow Precedence rules are PEMDAS:
Parentheses
Exponents
Multiplication
Division
Addition
Subtraction

So the calculator query shows "-(3 squared)" which is -9.

You have to type "(-3) squared" to get 9.

@cj @ytg it’s really a question of changing language into symbolic math; I think most people would say the answer should be 9, but language is always ambiguous. If I use a calculator and press the buttons β€œ-β€œ, β€œ3”, and β€œx^2”, the answer is indeed 9.

@ashfurrow @cj @ytg
Not in whatever calculator I appear to have on Ubuntu. pressing '-', '3', and 'x^2' yields -9.

When I use parens around -3, I get 9.

@rcode3 @cj @ytg the iOS calculator app handles this properly, and iirc, my TI-83 did as well.

Again, this is all the ambiguity of language. There's no "correct" answer, but some answers are more correct than others.

@cj @ytg is it a multiplication by -1? I consider β€œ-3” to be its own number unto itself. But again, language :)

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!