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

You are not logged in.

#26 2013-05-02 07:11:27

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Oh.

list = {300, 250, 175, 100, 75, 50, 25, 15, 7, 3, 1}
SecondPick[tickets_] := Sum[i/1001*tickets/(1001 - i), {i, Delete[list, Position[list, tickets]]}];

Last edited by anonimnystefy (2013-05-02 07:11:41)


“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

Offline

#27 2013-05-02 07:17:50

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Code, code, give me code! Okay, thank you.

Code, code, a thousand lines of code. I'd rather die then debug it. Sung to the tune of "No, no, a thousand times no. I'd rather die then say yes."


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#28 2013-05-02 07:20:46

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

I am not sure what you want.


“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

Offline

#29 2013-05-02 07:22:10

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Nothing, just singing an old song with my improved lyrics.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#30 2013-05-02 07:24:10

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Have you looked at the code?


“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

Offline

#31 2013-05-02 07:27:31

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

I just copied it to my notebook that deals with this problem.

I must warn you that I am missing a couple of great abilities that God in his infinite wisdom decided not to bestow on me.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#32 2013-05-02 07:30:11

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

What are those abilities?


“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

Offline

#33 2013-05-02 07:33:06

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

The list appears endless but the one that applies is that I never could read code written by someone else.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#34 2013-05-02 07:43:10

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Give me a few minutes to eat. When I get back, I will explain it a bit.


“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

Offline

#35 2013-05-02 07:44:21

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Very good, I will eat and continue to explore mythological creatures from Serbia.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#36 2013-05-02 07:58:23

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Mythological creatures? Like which?

To be honest, I never took much interest into Slavic mythology.

Now, for the code...

I am just summing P(second pick by n|first pick by i).


“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

Offline

#37 2013-05-02 08:02:09

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

I see that. But my general approach to computing the exact numbers here would be to tree it.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#38 2013-05-02 08:03:28

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Tree it? 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

Offline

#39 2013-05-02 08:05:49

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

You aware that Markov chains and gf's can be compact representations of trees?

There is just one tiny little, itsy bitsy problem...


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#40 2013-05-02 08:08:45

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

I do not know how useful Markov chains are here. The probabilities change for different previous picks.


“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

Offline

#41 2013-05-02 08:12:41

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Exact a mundo! GF's will have the same problem. But if you had a big piece of paper you could do it...


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#42 2013-05-02 08:24:43

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

I do not think it will be enough for picks higher than the second.


“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

Offline

#43 2013-05-02 08:27:48

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Nope, if I had a big piece of paper, I could just enumerate the entire tree. From beginning to end.

What I am getting at is how to do this using M and whatever structure is available. How to draw it without drawing. Now it is obvious we could use 11 nested loops but we should strive to use something a bit more elegant than that.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#44 2013-05-02 09:42:15

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Well, Markov chains require the probabilities to stay the same, but maybe we can do something with GF's?


“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

Offline

#45 2013-05-02 09:46:38

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

First, I am trying to work out the answer using programming.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#46 2013-05-02 09:53:23

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

That will be hard.


“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

Offline

#47 2013-05-02 10:01:11

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

For instance:


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#48 2013-05-02 10:25:08

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

How'd you get those?


“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

Offline

#49 2013-05-02 10:42:12

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 88,594

Re: Fantasy League Draft Lottery Question

Wrote a little program to do it for me.

As you can see all answers are close to my simulation.


In mathematics, you don't understand things. You just get used to them.

I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.

Offline

#50 2013-05-02 10:59:45

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 15,600

Re: Fantasy League Draft Lottery Question

Can you post the program code?


“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

Offline

Board footer

Powered by FluxBB