سوال در مورد رياضي اح)

yasmin

New Member
سلام!
من عضو جدیدی هستم یه سوال در مورد احتمال دارم. من در سوید درس میخونم (مهندسی کامپیوتر) والان ریاضی می خوانم.چند تا سوال هست ه باید با برنامه Mathematica حل کنم به روش simulation. می خواستم بدونم اگر کسی هست که به من بتونه کمک کنه.سواله به شرح زیر است.اگر یکی از اونها حل بشه بقیه را اسون میشه حل کرد.
As a preparation you should do this for the following problem:
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.
• Complete search.
• 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?
Solve this problem with simulation.
امیدوارم یکی پیدا بشه به من کمک کنه.
 

mazoolagh

Active Member
خودم كه نه ولي يك نفر رو ميشناسم مسلط به Mathematica هست. برو در blackmice.com عضو شو و يك PM براي كاربر electronic بفرست. صد در صد كمكت ميكنه.
 

جدیدترین ارسال ها

بالا