2,488 reputation
213
bio website mathani.tumblr.com
location
age
visits member for 1 year
seen Apr 14 at 16:16

honeycomb decay

Mathematica can save time delays between frames together with animated GIF (look for "DisplayDurations" under options of GIF format). This in turn allowed me to produce exactly 28 frames for the decay of this honeycomb with 28 cells. Modelling radioactive decay, where for example time intervals between clicks on a Geiger counter are approximately exponentially distributed, I can simulate the delays (rounded and shifted to run from t1/100-th seconds with average value (t1+t0)/100-th seconds) as:

delays[{t1_, t0_}, n_] :=
 t1 + Round[
   RandomVariate[ExponentialDistribution[1/t0], n]]

I set t1=2 here. Most browser can't present a delay of 2/100-th seconds properly. Chrome can.


May
29
comment Numbering nested list according with Depth (or Level)
You can MapAll or //@ but then set first rule to {0, x}.
May
29
answered Numbering nested list according with Depth (or Level)
May
28
awarded  Nice Answer
May
28
comment Solve and plot an equation that is dependent on a transcendental equation
@nielsen Sort of noise, I see. I think those are solutions of FindRoot converging uncontrollably and to undesired roots. I added some code. Have you already moved on from this problem?
May
28
revised Solve and plot an equation that is dependent on a transcendental equation
added 712 characters in body
May
25
comment Solve and plot an equation that is dependent on a transcendental equation
@nielsen Which y will you use with z, min or max? Both perhaps and calculating zmin and zmax, yes?
May
25
comment Solve and plot an equation that is dependent on a transcendental equation
@nielsen Sort of forking occurs. Suddenly more solutions for y are possible depending on x.
May
25
comment Solve and plot an equation that is dependent on a transcendental equation
@nielsen Right, something happens as denominator drops below 2. You can start analyzing that with Manipulate example above.
May
25
revised Solve and plot an equation that is dependent on a transcendental equation
edited body
May
25
comment Solve and plot an equation that is dependent on a transcendental equation
Right, Tanh[x], or just x, is a better seed.
May
25
answered Solve and plot an equation that is dependent on a transcendental equation
May
24
revised Inverting a Spline-Function (Bezier or BSpline)
deleted 1 characters in body
May
24
comment Inverting a Spline-Function (Bezier or BSpline)
It's a special delay. It waits until f[t] evaluates to a list of numbers. (I learnt this here.)
May
24
revised Inverting a Spline-Function (Bezier or BSpline)
added 278 characters in body
May
24
comment Inverting a Spline-Function (Bezier or BSpline)
First, Last, I don't know which is x and which y in this case. :) Anyway, delayed FindRoot works. You may want to Quiet it here though.
May
24
comment Inverting a Spline-Function (Bezier or BSpline)
@gwr Why do you expect t -> .72 since f[.5] gives y -> .6 in this case?
May
24
revised Inverting a Spline-Function (Bezier or BSpline)
added 219 characters in body
May
24
comment Inverting a Spline-Function (Bezier or BSpline)
FindRoot can solve this.
May
24
answered Inverting a Spline-Function (Bezier or BSpline)
May
24
comment Mapping multiple functions
@PinguinDirk MapThread! :)