# Think

John Valiant

Greenhorn

Posts: 26

Ryan McGuire

Ranch Hand

Posts: 1067

4

posted 4 years ago

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.

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

posted 4 years ago

you missed the if:

B would therefor equal 5.

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

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors

Mike Simmons

Ranch Hand

Posts: 3080

14

posted 4 years ago

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

- 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: 1599

posted 4 years ago

B should be equal to A.

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

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

Keep Smiling Always — My life is smoother when running silent. -paul

[FAQs] [Certification Guides] [The Linux Documentation Project]

Frank Silbermann

Ranch Hand

Posts: 1407

Ryan McGuire

Ranch Hand

Posts: 1067

4

posted 4 years ago

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.

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: 1067

4

posted 4 years ago

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

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: 1407