Solving Ode Using Python For Finance