Numerical Method Using Python To Run