1,511 reputation
515
bio website
location Espoo, Finland
age 37
visits member for 1 year, 6 months
seen 10 hours ago


Mar
18
awarded  Outspoken
Mar
17
comment Converting problem into form involving Probability
@rasher Thanks for the pointers. I believe this paper (Birthday paradox, coupon collectors, caching algorithms and self-organizing search, Flajolet et al.) has answers to my questions from the mathematical viewpoint. Still, my primary interest with this question lies in use of a specific tool...
Mar
17
comment Converting problem into form involving Probability
If you are wondering where this problem stems from... well: modelling idealised CPU cache (limited amount of "cache lines") behaviour with different working set loads (distributions).
Mar
17
comment Converting problem into form involving Probability
@rasher N>=1+Population size part is obvious. My question is: how to formulate this question with Probability - preferably in a composable way that shifts "thinking" to Mathematica. :)
Mar
17
comment Converting problem into form involving Probability
@DanielLichtblau Maybe my wording needs improvement. As you see, I widen DiscreteUniformDistribution and compute probability that between first occurrence of whatever picked value repeats before more than eight other values (duplicates removed) occur before next occurrence of the original one.
Mar
17
revised Converting problem into form involving Probability
added 2 characters in body
Mar
17
asked Converting problem into form involving Probability
Mar
16
comment How to convolve a Unit function (like “UnitTriangle”) with a InterpolatedFunction
If you specifically want to use Convolve, you have to construct a different kind of interpolation function to work with. For instance, you can use Piecewise, InterpolatingPolynomial or construct the function using your own basis functions. I must say I'm a bit saddened by the fact Interpolation, BezierFunction and BSPlineFunction don't produce suitable output, but instead you have to trouble yourself to get all this done.
Mar
11
comment Wait / sleep miliseconds
@Trollkemada On my system {Mean@#, StandardDeviation@#} &@ Table[First@AbsoluteTiming[Pause[0.123]], {10}] returns {0.123241, 0.00003}. So, at least in some situations, it seems quite reliable. Just don't rely on it for "hard real time" applications.
Mar
11
revised What does rule 30 mean in this example?
added 151 characters in body
Mar
11
revised What does rule 30 mean in this example?
deleted 1 characters in body
Mar
11
answered What does rule 30 mean in this example?
Mar
11
revised Sorting a large file
added 93 characters in body
Mar
11
revised Sorting a large file
added 93 characters in body
Mar
11
revised Sorting a large file
added 103 characters in body
Mar
11
answered Sorting a large file
Feb
25
comment Generating a (random) 2-dimensional cellular network
If you really want all edge lengths to be the same, I think you end up seeing only the three regular tilings of a plane; not very random.
Feb
22
comment Counting and extracting hit circles/triangles for randomly chosen points
It's much more clear to state the problem as calculating the ratio of area of the triangle and sum of areas of circles, which obviously form three convergent geometric series of circle areas around a incircle. Frankly, this sounds more like an elementary geometry than Mathematica question. Technically, you can formulate an equation that would perform test even for infinite amount of circles, but this sounds... quite awkward.
Feb
10
comment Can someone help me solve this x*y*z=180
Sometimes using plain Reduce in similar problems does not return explicit solutions, if the number of solutions is too large. In these cases, using FindInstance and explicitly specifying maximum amount of solutions to seek may help.
Feb
4
comment Kinetic Friction in Mathematica, weird behaviour
@george2079 NDSolve is a numerical method and WhenEvent, at its current form, is notoriously famous to seem to work, but actually to miss events in many systems. Maybe this gets better on Mma 10, where it is claimed to work also with DSolve.