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

Login

Username

Password

Not registered yet?

#1476 2012-07-12 22:47:41

gAr
Star Member

Offline

Re: Is this cool with you?


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

#1477 2012-07-12 22:52:29

bobbym
Administrator

Online

Re: Is this cool with you?

Hi;


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1478 2012-07-12 22:54:14

gAr
Star Member

Offline

Re: Is this cool with you?

Hi,


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

#1479 2012-07-12 22:59:46

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1480 2012-07-12 23:09:41

gAr
Star Member

Offline

Re: Is this cool with you?

Hi,

Thanks!
Try the problem I was attempting, |sum( a ) - sum( b )| instead of sum( |a - b| ), I think that's more difficult.


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

#1481 2012-07-12 23:22:19

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;

Take a look at this:


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1482 2012-07-12 23:38:29

gAr
Star Member

Offline

Re: Is this cool with you?

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

#1483 2012-07-12 23:40:56

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1484 2012-07-12 23:55:09

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

bobbym wrote:

Hi gAr;



Hi bobbym


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1485 2012-07-13 00:01:53

gAr
Star Member

Offline

Re: Is this cool with you?

Hi,

Hi gAr;

Yes, he is considering (i,j) and (j,i) to be identical, so he's done the summation like that.


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

#1486 2012-07-13 00:07:15

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;

Does that cover your question in post #1481?

Hi anonimnystefy;

The example of how to some the die that I gave. Do you want the correct example?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1487 2012-07-13 00:13:38

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

Hi bobbym

I don't understand you. I used a GF to sum the die.


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1488 2012-07-13 00:15:37

bobbym
Administrator

Online

Re: Is this cool with you?

Hi;

This is what the problem requires you to do in pseudo code:

1)Pick two random integers in the interval [1,6].
2)Subtract them and take the absolute value.
3)Take the average of all of those values.
4) Print the answer.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1489 2012-07-13 00:17:54

gAr
Star Member

Offline

Re: Is this cool with you?

Hi bobbym,

No, see the code I posted in #1461 to understand what I mean.
I'm considering 2 six faced dice, thrown n times, and we need to calculate the expected value of


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

#1490 2012-07-13 00:18:48

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;

Wouldn't that be 0?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1491 2012-07-13 00:18:56

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

But why do that. I took each possible outcome, multiplied each of them with its pribability of happening and summed over.


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1492 2012-07-13 00:20:49

bobbym
Administrator

Online

Re: Is this cool with you?

Hi;

Because as I was explaining to gAr, I made a mistake in showing that example in the original post. You sum the die pairwise.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1493 2012-07-13 00:24:42

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

So, what should I get for (1,5),(5,1)?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1494 2012-07-13 00:28:56

gAr
Star Member

Offline

Re: Is this cool with you?

Hi,

Hi gAr;

Wouldn't that be 0?

No, just like in the example, we may get for four throws |(1+2+3+4) - (2+3+4+5)| = 4. We will get different values for each trial, and 0 is one among them. So what's the expected value?


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

#1495 2012-07-13 00:31:24

bobbym
Administrator

Online

Re: Is this cool with you?

Hi gAr;

Okay, I will work on it because I do not have a quick answer. I am being called away from my computer, see you later.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.
 

#1496 2012-07-13 00:32:49

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

Hi gAr

What are you getting as the answer?

Hi bobbym

See you later.

Last edited by anonimnystefy (2012-07-13 00:33:10)


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1497 2012-07-13 00:39:40

gAr
Star Member

Offline

Re: Is this cool with you?

Hi bobbym,

Okay, see you...

Hi anonimnystefy,

I have already answered it, 35 / 18 for 6 faced dice.


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

#1498 2012-07-13 00:40:41

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

That is the expected value of the difference?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

#1499 2012-07-13 00:47:24

gAr
Star Member

Offline

Re: Is this cool with you?

Yes.


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

#1500 2012-07-13 00:57:06

anonimnystefy
Real Member

Offline

Re: Is this cool with you?

Hi gAr

I tthink I might have been doing the other problem you mentioned. The absolute difference of the sums. What do you get for that one?


The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment
 

Board footer

Powered by FluxBB