Simulate Math Formulas Using Python For Statistical Analysis