Numerical Method Using Python To Control