Exponential Martingales in SageMath

Introduction In the previous blog we introduced the Kolmogorov Forward and Backward equations and showed how they arise from the infinitesimal generator of a SDE. That exercise demonstrated that once the stochastic dynamics are expressed symbolically, SageMath can manipulate them in much the same way as classical calculus. In this post we extend that idea [ ]