MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: probability with simulation

  • To: mathgroup at
  • Subject: [mg60523] Re: [mg60496] probability with simulation
  • From: "benshimo at" <bsyehuda at>
  • Date: Mon, 19 Sep 2005 04:45:41 -0400 (EDT)
  • References: <>
  • Reply-to: benshimo at
  • Sender: owner-wri-mathgroup at

Isn't it a homework assignment?

On 9/18/05, Sara <ma_sara177 at> wrote:
> I have a problem with probability. I have to solve a problem av
> probability with simulation. i have done it with the combinatorial method
> but I dont know how to use Mathematica to solve the problem with simulation.
> can any one Help me please. If you want my result with combinatorial method
> or my try with simulation I can email you. the problems are:
> 1)Find the probability of getting exactly two 1:s when throwing 5 dices.
> Solve this problem with the combinatorial method and by simulation.
> We will play a very simple variant of poker. In the deck we have N cards
> which are
> called 1,2, ?, N. Each player is dealt 5 cards randomly. In this game
> there are 3 types
> of hands:
> ? Straight: The 5 cards form a sequence, e.g. 3,4,5,6,7.
> ? Parity: The 5 cars are all odd or all even.
> ? Standard: A hand that is not a Straight or a Parity.
> A Straight beats a Parity and a Parity beats a Standard. If we have two
> hands of the
> same type the hand with the highest top-card will win.
> Problem 1
> Assume that there are 3 players including you. What is the probability
> that you get a
> Straight? Solve this problem first with.
> The combinatorial method? (ihave don that)
> Simulation?
> Do it for N=15. Make a simulation for N=20.
> Problem 2
> Let us assume N= 30, that there are 4 players including you, that the
> cards are dealt
> and you have a Parity with 20 as top-card. What is the probability that
> you have a
> winning hand?

  • Prev by Date: Re: probability with simulation
  • Next by Date: Re: Outputting MatrixForm to Word
  • Previous by thread: probability with simulation
  • Next by thread: Re: probability with simulation