RecipePythonBeginner Fixation probability by simulation: how often a beneficial mutation survives u[s != 0] = np.expm1(x * p0) / np.expm1(x) # exp(x) - 1
MinigamePythonIntermediate Relativistic flight at 0.9 c: aberration, Doppler colors, and the twin clocks return 2 * h * c**2 / lam**5 / np.expm1(h * c / (lam * k * T))