Simulate Math Formulas Using Python For Research