8 Topics

Member Avatar for
Member Avatar for Reverend Jim

Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly tossed until the sequence for one of the players occurs. The loser pays the winner a dollar. You'd assume that …

Member Avatar for xrjf
0
2K
Member Avatar for m_ishwar

Here is a code snippet that calculates the probability of the outcome of a two sided game based on the capability of each side. I used it in my football league simulator program Could be used in any number of simulators which involve two parties. For equally strong parties, the …

0
359
Member Avatar for cool_zephyr

hey i'm trying to generate numbers from 1 to 3 in a way such that number 1 has the probability 70% being generated number 2 has the probability of 20% of being generated number 3 has the probability of 10% of being generated how do i do that?? can anyone …

Member Avatar for cool_zephyr
0
205
Member Avatar for alexamicaa

I have NO IDEA how to use Python. Best answer if you write the full program! Please help me! I will be forever grateful! Accept / Reject Monte Carlo Part I: Goal: Write a python program that will: 1. define a function for a specific probability density function f(x), 2. …

Member Avatar for sepp2k
-2
663
Member Avatar for flebber

Hi I was doing an exercise in the Real Python book. It gave a task of simulating a coin toss "I keep flipping a fair coin until I've seen it land on both heads and tails at least once each – in other words, after I flip the coin the …

Member Avatar for flebber
0
2K
Member Avatar for 3nrichedd

Basically I have found myself stuck in a math problem, any possibilities for assistance? I know this is java but I figured there must be a java programmer out there that knows how to solve this? c=95% In small NY towns (population < 30000) a sample of 22 libraries had …

Member Avatar for NormR1
0
175
Member Avatar for hari.sarvothama

Hey, I have two probability table for a variable say A ======================= B----------------- P(A) value1--------------.25 value2--------------.75 ======================= C-------------------P(A) value1--------------.55 value2---------------.45 ======================== How do i find probability for P(A/B=value1, C=value2) ?? Should I use Bayes theorem. If so how?

0
92
Member Avatar for TrustyTony

The End.