Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

#2026 2013-01-15 09:23:41

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,018

Re: What do you think?

Hi

Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#2027 2013-01-15 09:31:29

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2028 2013-01-15 09:36:08

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,018

Re: What do you think?

A 2x2 matrix? How?

Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#2029 2013-01-15 09:40:02

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2030 2013-01-15 09:46:06

anonimnystefy
Real Member
From: Harlan's World
Registered: 2011-05-23
Posts: 16,018

Re: What do you think?

Hi bobbym

Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.

Offline

#2031 2013-01-15 09:52:34

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2032 2013-01-15 22:28:23

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

Hi bobbym,

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2033 2013-01-16 00:55:08

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi gAr;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2034 2013-01-16 01:17:37

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

Hi bobbym,

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2035 2013-01-16 01:35:12

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi gAr;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2036 2013-01-16 02:25:11

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,460

Re: What do you think?

Hi Bobby,

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#2037 2013-01-16 02:26:56

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi phrontister;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2038 2013-01-16 02:34:49

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

Hi bobbym,

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2039 2013-01-16 02:42:42

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi gAr;

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2040 2013-01-16 02:56:44

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,460

Re: What do you think?

Hi Bobby,

Howdy!

The spreadsheet (which I've deleted by mistake ) gave the answer after about 25 to 30 iterations, depending on the starting volume of water in the urns. I tried it with the same volume in each urn and also with different volumes in each urn, with not much change to the number of iterations.

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#2041 2013-01-16 02:56:45

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

You're welcome!

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2042 2013-01-16 02:58:24

phrontister
Real Member
From: The Land of Tomorrow
Registered: 2009-07-12
Posts: 4,460

Re: What do you think?

Hi gAr,

"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson

Offline

#2043 2013-01-16 03:02:39

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi phrontister;

Yes the naswer is independent of the volumes of the urns and the starting amounts of water.

Hi gAr;

The Feller books have a lot of stuff in them!

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2044 2013-01-16 03:24:31

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

Hi phrontister,

I did not see that you had written up there, I actually replied to bobbym!

Hi bobbym,

Yes, you're right, he has covered a lot of topics.

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2045 2013-01-16 03:46:54

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi;

Thanks for both of you looking at the problem.

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2046 2013-01-16 03:52:09

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

Hi bobbym,

I have a question on numerical methods:
How do we test whether a huge integer is a perfect square, if I'm to implement it in a language like C?

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2047 2013-01-16 04:01:42

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

How big is the integer?

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2048 2013-01-16 04:09:49

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

A number which fits "long" data type, taking 64 bits..
I'll take a break, see you later..

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#2049 2013-01-16 04:22:43

bobbym
From: Bumpkinland
Registered: 2009-04-12
Posts: 107,115

Re: What do you think?

Hi gAr;

Comparing floating point numbers like the routine sqr in C++ does and integers can be tricky.

I assume you want unsigned 64 bit numbers you will be testing numbers from 0 to 18446744073709551616. The roots would range from 0 to 4294967296.

Are your arguments going to be integers or floating point numbers?

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

#2050 2013-01-16 04:57:28

gAr
Member
Registered: 2011-01-09
Posts: 3,479

Re: What do you think?

In particular, I'm trying to find values of n for which a polynomial like n*(5*n+14)+1 are perfect squares..

"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline