# Think

John Valiant
Greenhorn
Posts: 26
Suppose A is equal to 10
and B is equal to 5.
Then if B is equal to A,
what is B?

Ryan McGuire
Ranch Hand
Posts: 1081
4
• 2
John Valiant wrote:Suppose A is equal to 10
and B is equal to 5.
Then if B is equal to A,
what is B?

B is the Queen Sonja of Norway.

Let's evaluate...

(A == B) --> (B == Queen Sonja of Norway)
(10 == 5) --> (5 == Queen Sonja of Norway)
F --> F
T

So my answer appears to be correct.

Mike Simmons
Ranch Hand
Posts: 3090
14

Tina Smith
Ranch Hand
Posts: 208
9
Suppose A is equal to 10
and B is equal to 5.
Then if B is equal to A,
what is B?

Java syntax:

Therefore, B is 10.
A little liberty on the interpretation between assignment and equality.....

Steve Fahlbusch
Bartender
Posts: 605
7
either

B is B

or

B is equal to A

Depending on the intent.

fred rosenberger
lowercase baba
Bartender
Posts: 12203
35
• 3
Tina Smith wrote:
Java syntax:

Therefore, B is 10.
A little liberty on the interpretation between assignment and equality.....

you missed the if:

B would therefor equal 5.

Mike Simmons
Ranch Hand
Posts: 3090
14
Well it's easy enough to add an if to that code and make it work. Not in Java, of course - but this is MD. And this would be perfectly valid C code:

Henry Wong
author
Marshal
Posts: 21515
84
• 1
John Valiant wrote:Suppose A is equal to 10
and B is equal to 5.
Then if B is equal to A,
what is B?

If we are allowed to assume a base, then can we say that A equals 10 in base 5. B is equal to 5 in any base greater than 5. This, of course, means that A is equal to B, as 10 in base 5 is equal to 5 in any base greater than 5.

Henry

Akhilesh Trivedi
Ranch Hand
Posts: 1608
B should be equal to A.

Further, if A is not equal to B then this should be introduction to modern algebra.

Maneesh Godbole
Saloon Keeper
Posts: 11196
15
B is 42

Frank Silbermann
Ranch Hand
Posts: 1408
What mathematical notation and theory is this written in?

Ryan McGuire
Ranch Hand
Posts: 1081
4
Frank Silbermann wrote:What mathematical notation and theory is this written in?

I bet that there is some system where the notation is such that 5 and 10 map to the same thing. Our objective to know which one the OP is thinking of.

For instance...
If we're talking a major pentatonic scale, such as one with notes CDEGA(C), then the "fifth" is a C one octave above the starting note and a "tenth" is a C two octaves above the starting note.

Maybe it has to do tenths of of something circular with a two-ended pointer. For instance, tenths of a circle around a compass. 5 is South and 10 is North. When the needle is pointing North, the other end is pointing South, so North and South and "equal".

I just hope that there isn't some mathematical "proof" that 5 equals 10 involving a division by zero or some other invalid step. That would be disappointing.

Ryan McGuire
Ranch Hand
Posts: 1081
4
Wait... I know...

When Mr. Valiant is summoning the dark forces from the underworld using mystical symbols drawn in blood on his living room floor, he has to walk around the pentagram twice starting at the corner pointing south. If A is his position after ten "legs" of his trip and B is his position after five, both A and B would have him back at the southern-most point. So... B is "the southern-most point of a pentagram".

Frank Silbermann
Ranch Hand
Posts: 1408
Or, maybe it's clock arithmetic, with a period of five. That is, you count 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, ....

Thus A = B = 5 = 10 = 0.

Steve Fahlbusch
Bartender
Posts: 605
7
5