Minimizing NExpectation for a custom distribution in Mathematica

This relates to an earlier question from back in June: Calculating expectation for a custom distribution in Mathematica I have a custom mixed distribution defined using a second custom distribution following along the lines discussed by @Sasha in a number of answers over the past year. Code defining the distributions follows: nDist /: CharacteristicFunction[nDist[a_, b_, … Read more

Cosmic Rays: what is the probability they will affect a program?

Once again I was in a design review, and encountered the claim that the probability of a particular scenario was “less than the risk of cosmic rays” affecting the program, and it occurred to me that I didn’t have the faintest idea what that probability is. “Since 2-128 is 1 out of 340282366920938463463374607431768211456, I think … Read more