DNA and Bessel functions
https://www.johndcook.com/blog/2026/08/09/dna-and-bessel-functions/
Consultant in applied mathematics and data privacy
Consultant in applied mathematics and data privacy https://www.johndcook.com
DNA and Bessel functions
https://www.johndcook.com/blog/2026/08/09/dna-and-bessel-functions/
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: A simple range reduction algorithm
https://www.johndcook.com/blog/2026/08/09/simple-range-reduction/
Consultant in applied mathematics and data privacy https://www.johndcook.com
How not to calculate cosine
https://www.johndcook.com/blog/2026/08/07/how-not-to-calculate-cos/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Why is cos(200!) harder to compute than log(200!)?
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: Calculating log(1000!)
Consultant in applied mathematics and data privacy https://www.johndcook.com
Enumerating rooted trees and non-overlapping circles
https://www.johndcook.com/blog/2026/08/05/enumerating-trees-and-circles/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Metallic ratio alchemy: Can you make gold from lead?
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: Ratios of metallic ratios
https://www.johndcook.com/blog/2026/08/04/ratio-of-metallic-ratios/
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: Holonomic functions
https://www.johndcook.com/blog/2026/08/02/holonomic-functions/
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: Estimating a cumulative sum
https://www.johndcook.com/blog/2026/08/02/estimating-a-cumulative-sum/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Why is one special area of differential equations -- 2nd order linear equations with polynomial coefficients -- so important?
https://www.johndcook.com/blog/2026/08/01/why-polynomial-coefficients/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Counting rooted trees. With a surprising connection to differential equations.
https://www.johndcook.com/blog/2026/08/01/counting-rooted-trees/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Solving the Runge-Kutta design equations
https://www.johndcook.com/blog/2026/07/31/runge-kutta-design/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Comparing forward Euler and symplectic Euler ODE solvers on the preditor-prey equations.
Consultant in applied mathematics and data privacy https://www.johndcook.com
A better algorithm for inverting the gamma function
https://www.johndcook.com/blog/2026/07/28/inverse-factorial-improved/
Consultant in applied mathematics and data privacy https://www.johndcook.com
You can hide a cryptographic key in the order of a deck of cards. How big a deck would you need to store various sizes of keys?
Consultant in applied mathematics and data privacy https://www.johndcook.com
New post: Hiding data in permutations
https://www.johndcook.com/blog/2026/07/27/hiding-data-in-permutations/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Consultant in applied mathematics and data privacy https://www.johndcook.com
Update to my previous post. By changing the parameter k from 1.5 to 1.6 I get the red curve, which fits the gray photographic image quite well.
Consultant in applied mathematics and data privacy https://www.johndcook.com
Equation for the shape of a guitar pick
https://www.johndcook.com/blog/2026/05/03/guitar-pick/
Consultant in applied mathematics and data privacy https://www.johndcook.com
Consultant in applied mathematics and data privacy https://www.johndcook.com
Consultant in applied mathematics and data privacy https://www.johndcook.com
Consultant in applied mathematics and data privacy https://www.johndcook.com
I asked Grok and ChatGPT to write Lilypond code to reproduce a photo of some sheet music. The results were hilariously bad, and yet they got some things right.
https://www.johndcook.com/blog/2026/03/13/typesetting-sheet-music-with-ai/
Consultant in applied mathematics and data privacy https://www.johndcook.com