# Posts Tagged ‘ mathématiques ’

## A Million Random Digits: review of reviews

March 4, 2011
By

Recently on his blog (here), Robin mentioned an amazing book, called "A Million Random Digits" published by RAND corporation. The book was initially published in 1955, but RAND published a nice (and expensive) second edition. A great thing is that ...

## when Nuns or Hells Angels get in a plane

February 24, 2011
By

Today, at lunch, Matthieu told us a nice story (or call it a paradox if you like) about the probability to find you seat empty when you get in a place.  a plane full of nuns Assume that you are in the line to get in the airplane, you are the ...

## What is the optimal strategy to marry the best one ?

February 13, 2011
By

Valentine's day is a nice opportunity to post on hot and sexy topics... Well, it's also an important day that I should not miss, probably as much as Saint Patrick's my wife's birthday. And as I mentioned last week (here), it is difficult to get the...

## Finding roots of functions in actuarial science

December 7, 2010
By

The following simple code can be used to find roots of functions (based on the secant algorithm), secant=function(fun, x0, x1, tolerence=1e-07, niter=500){for ( i in 1:niter ) { x2 <- x1-fun(x1)*(x1-x0)/(fun(x1)-fun(x0)) if (abs(fun(x2)) < to...