PinnedRuimin PanThe Curious Case of Poisson Noise and MATLAB ‘imnoise’ CommandThe curious scaling of ‘imnoise’Apr 13, 2023Apr 13, 2023
Ruimin PanThe broken stick problemI was asked a question recently: if you break a stick in three segments, what’s the probability that the three segments can form a…May 17May 17
Ruimin PanThe differences between a mathematician and a software engineer: how you can tell with a simple…What are the differences (yes, plural) between a mathematician and a software engineer when it comes to coding? I have been asked this…Mar 12Mar 12
Ruimin PanOne girl policyAs someone from the ‘one child policy’ era (roughly from 1980 to 2015) in China, I had for a long time believed that this policy will give…Jul 8, 2023Jul 8, 2023
Ruimin PanSimple dynamic programming with diceIf you play any kind of boardgames, you’d be familiar with dice. They generally look like this:Jul 7, 2023Jul 7, 2023
Ruimin PanWhat about two dice?Everyone knows how to calculate the chance of getting a 6 from throwing a standard die with numbers from 1 to 6 on its 6 faces. “But what…Jul 5, 2023Jul 5, 2023