Math Is Fun Forum

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

You are not logged in.

#553 Re: Computer Math » Markov chains » 2014-09-10 10:23:08

Long time ago, it's correct.

Also, I checked, the above matrix is working.

#554 Re: Jokes » Where Do Deleted Characters Go? » 2014-09-10 09:20:17

Some do have meaning. Most are some silly party songs, though.

#555 Re: Computer Math » Markov chains » 2014-09-10 09:18:16

You're welcome. It wasn't that hard, though.

I think I might be able to reduce it to 5 states.

Edit: This should work too:

#556 Re: Computer Math » Markov chains » 2014-09-10 09:14:21

Sorry, forgot.

In order: *A*BC, A*B*C, AB*C*, *A*B, A*B*, *A*C, A*C*, A, B+C.

#557 Re: Jokes » Where Do Deleted Characters Go? » 2014-09-10 09:11:49

You are becoming more musical by the day.

#559 Re: Computer Math » Markov chains » 2014-09-10 09:02:01

It can, I have the matrix. It's quite big, though.

#561 Re: Computer Math » Markov chains » 2014-09-10 08:58:25

It is not, but that is my solution.

#562 Re: Computer Math » Markov chains » 2014-09-10 08:53:48

Ah, sorry.

Well, it's very stupid.

#564 Re: Computer Math » Markov chains » 2014-09-10 08:00:02

I can post it, but the fact that it's close is just a coincidence here. It would get that number whatever the probabilities were.

#565 Re: Computer Math » Markov chains » 2014-09-10 07:39:44

Hm, your simulation is incorrect. You are not calculating the probability correctly.

#566 Re: Jokes » Where Do Deleted Characters Go? » 2014-09-10 06:39:25

Good pixels go to heaven. Bad pixels go on to make up the BSoD.

#568 Re: Help Me ! » coordinate » 2014-09-10 06:32:18

Yes, sorry. I was just checking to see if I have messed up.

I need to get into form a bit, haven't done much math in the last 3 months.

#569 Re: Computer Math » Markov chains » 2014-09-10 06:30:25

I have solved it, and I'm pretty sure of the answer. The simulation and the analytic method agree.

#570 Re: Help Me ! » coordinate » 2014-09-10 06:25:59

Not sure if this is correct, but I am getting:

#572 Re: Help Me ! » Linear algebra help?? » 2014-09-09 21:26:18

What happenes when the lines do not cross and are not parallel? We are in R3.

#573 Re: Computer Math » Markov chains » 2014-09-09 21:24:21

To have only 9 states, you can merge the cases where only B is left, only C is left, B and C are left with B being asked first, B and C are left with C being asked first and use that one as an absorbing state.

I'll post the sim as soon as possible.

EDIT: Here it is:

Count[Table[Block[{l = {1, 2, 3}},
While[Length[l] > 1,
  r = RandomReal[];
  If[(Length[l] > 1) && (r < 1/5), l = DeleteCases[l, 1]];
  r = RandomReal[];
  If[(Length[l] > 1) && (r < 1/2), l = DeleteCases[l, 2]];
  r = RandomReal[];
  If[(Length[l] > 1) && (r < 9/10), l = DeleteCases[l, 3]];];
  l
], {1000000}] // Flatten, 1]/1000000 // N

#574 Re: Computer Math » Markov chains » 2014-09-09 13:15:16

Hm, got the sim working and it got the same answer. The probability of no. 1 staying last is 121/184, so the probability we want is 63/184.

#575 Re: Help Me ! » rat run probability » 2014-09-09 12:31:57

Ah, okay.

Did you ever try listening to newer music?

Board footer

Powered by FluxBB