The prevalence of military examples of maths going wrong is not because the armed forces are particularly bad at mathematics. It’s partly because the military are big on research and development, so they are at the bleeding edge of what can be done, which tends to invite mistakes.