New year, new good morning thread!

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

good morning

good morning to all the very smart engineers over at google

@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.

· · Web · · ·

@ytg @ashfurrow Precedence rules are PEMDAS:
Parentheses
Exponents
Multiplication
Division
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 :)

@ashfurrow negative numbers don't exist. 😉

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!