2,548 reputation
214
bio website mathani.tumblr.com
location
age
visits member for 1 year, 5 months
seen Jun 17 at 8:07

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.


Aug
12
awarded  Nice Answer
Mar
24
awarded  Yearling
Mar
13
answered Nested list to graph
Mar
13
comment Limit of sequence
Plot[n Sin[2 Pi E Factorial[n]], {n, 0, 15}]
Mar
5
comment extract line from position data
@tintin FindCurvePath can make the ordering.
Mar
5
comment extract line from position data
Vectorize the image first to PDF for example via online.rapidresizer.com, then import that to Mma.
Dec
22
answered Measure the length and width of the image
Nov
9
revised Minimum spanning Tree from a weighted adjacency graph
deleted 1 characters in body
Nov
9
answered Minimum spanning Tree from a weighted adjacency graph
Oct
12
comment How can I stack plots so that they are aligned nicely?
Bad trick #2: FrameTicks -> {Automatic, {{.5, "+\[VeryThinSpace]0.5"}}}.
Oct
12
comment How can I stack plots so that they are aligned nicely?
This is hardly noticeable ... Could you put y-label on the right perhaps? FrameLabel -> {"x (Meter)", None, None, "y (Meter)"}
Oct
4
answered Position of First nonzero number
Jul
31
accepted FindRoot equation-variable mismatch
Jul
18
comment FindRoot equation-variable mismatch
I'm using a bisection routine now. I'd rather use FindRoot for elegance and accuracy.
Jul
18
asked FindRoot equation-variable mismatch
Jun
11
awarded  Nice Question
Jun
11
comment How do I find the intersection of a closed 3D curve given by numerical data with a specified plane?
Why do you sample over such a broad interval? -Pi to Pi would suffice.
Jun
10
awarded  Nice Answer
Jun
9
answered A function that accepts a pair or a list of pairs
Jun
9
answered Finding y given x from an interpolating function