The subject of this post is still quite general but I would like to
point out the interconnections between the three. Fortran firstly
appeared in 1954 and stands for FORmula TRANslating system, as you may
all know. Thermodynamics is a bit older (see for example Boyle, 1656),
but Mathematics are the eldest one.
Have fun!
PS. If there is something done in this direction, I would be glad to be
informed.