Chronology Current Month Current Thread Current Date
[Year List] [Month List (current year)] [Date Index] [Thread Index] [Thread Prev] [Thread Next] [Date Prev] [Date Next]

Re: [Phys-L] [External] math notation puzzles



Excel gives +9 and 25.


That surprised me because I have always used parentheses so the issue never came up.


Bob at PC

________________________________
From: Phys-l <phys-l-bounces@mail.phys-l.org> on behalf of John Denker via Phys-l <phys-l@mail.phys-l.org>
Sent: Tuesday, February 5, 2019 6:05:10 PM
To: Phys-L@Phys-L.org
Cc: John Denker
Subject: [External] [Phys-L] math notation puzzles

Some puzzle questions:

1) Some computer languages use ^ as the exponentiation
operator. In that case, what is the numerical value of:
-3​^​2

How do you know?
How sure are you?

2) Some computer languages use ** as the exponentiation
operator. In that case, what is the numerical value of:
-3**2

How do you know?
How sure are you?

3) What is the numerical value of:
3⋅3 + 4⋅4

How do you know?
How sure are you?


==============
For each question:

-- I have an answer in mind.
-- I expect that after the dust settles, there will be
near-universal agreement as to the right answer.
-- There is a reason for asking the question.
-- I have not done anything to make it trickier than it
needs to be.
-- You are warned that the question might not be as easy
as it initially appears. That is to say, there is a
certain amount of irreducible trickiness.

_______________________________________________
Forum for Physics Educators
Phys-l@mail.phys-l.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.phys-l.org%2Fmailman%2Flistinfo%2Fphys-l&amp;data=01%7C01%7Crlamont%40providence.edu%7C08ed78567d98429e0c9408d68bbe681b%7C29196f361d5e4d2689453be41ba81178%7C0&amp;sdata=ecyvQygK1GCVXB4%2B3eL1axy5Mc%2BaeBXj%2BZauRi84eSQ%3D&amp;reserved=0

This email originated from outside of Providence College. Do not click links or open attachments unless you recognize the sender and know the content is safe.