David Cary
Reputation
1,188
Top tag
Next privilege 2,000 Rep.
 Aug 19 answered Simulate repeated rolls of a 7-sided die with a 6-sided die Aug 18 comment Simulate repeated rolls of a 7-sided die with a 6-sided die @Daenyth: Huh? I see 35 non-X possibilities, 5 of them result in a 7, which gives the correct desired probability of 5/35 = 1/7 chance of resulting in a 7. Aug 18 revised Simulate repeated rolls of a 7-sided die with a 6-sided die clarified (I hope) Aug 18 suggested approved edit on Simulate repeated rolls of a 7-sided die with a 6-sided die Aug 18 comment Simulate repeated rolls of a 7-sided die with a 6-sided die @cHao: Yes, sometimes we want exactly one fair 1d7 value, and you're right that it's impossible to do that with only 1 roll of a 1d6 dice -- we need at least 2, sometimes more, and andre shows an excellent algorithm for that case. However, if we want several hundred independent and fair 1d7 values, it is (theoretically) possible to derive those values from (on average) log(7)/log(6) =~ 1.09 rolls of a fair 1d6 die per desired 1d7 value. However, the algorithm to do that is complex and more difficult to prove that it gives fair, independent 1d7 values. Jul 11 answered Why square units? Jul 2 awarded Curious May 19 awarded Nice Answer May 19 answered Why square units? May 2 comment Platonic solids and charged particles @LeeMosher: Min-Energy Configurations of Electrons On A Sphere says that N = 16 electrons has 2 local minima, but only one of them is the unique global minimum. Apr 28 comment A function such that $f(f(n)) = -n$? @JackAidley: You are technically correct, but many people (apparently including corsiKa) still call the leftmost bit in signed 32-bit integers in practically all modern computers "the sign bit", even though it acts differently than the "real" sign bit in early Cray mainframes. Apr 28 revised A function such that $f(f(n)) = -n$? clarified (I hope) with another example. Apr 28 suggested approved edit on A function such that $f(f(n)) = -n$? Apr 28 suggested rejected edit on A function such that $f(f(n)) = -n$? Apr 27 awarded Critic Apr 25 awarded Revival Apr 23 awarded Notable Question Jan 4 answered Fourier - Are sinusoidals strictly required? Dec 7 awarded Revival Dec 3 awarded Tumbleweed