I have a degree in Applied Mathematics and therefor have taken enough Calc and Diff-E-Q to choke a horse.
But that was over 18 years ago and these days I don't fumble with numbers enough to even balance my checkbook!
That equation sent chills up my spine. I'm no racist, but I always hated
integration.
I did find
THIS. It's close, I think. And maybe even helpful.
Good luck.