One example from physics is my little attempt at quantum computing in Python: quantumpy.
Back in 2005, I bought Sussman's Structure and Interpretation of Classical Mechanics (SICM) which is an extensive exploration of Lagrangian and Hamiltonian classical mechanics using Scheme.