Question: python program Task 1: The probability density function of the normal distribution is: 1 f(x) = -(x-u)/(202) 2 where u is the mean, and o

 python program Task 1: The probability density function of the normal

distribution is: 1 f(x) = -(x-u)/(202) 2 where u is the mean,

python program

Task 1: The probability density function of the normal distribution is: 1 f(x) = -(x-u)/(202) 2 where u is the mean, and o is the standard deviation. See https://en.wikipedia.org/wiki/Normal_distribution for more information about normal distribution. The probability density function is shown in Figure 2-1.: 68-95-99.7 Rule 0.40 0.35 0.30 68.27% 0.25 Probability Density 0.20 95.45% 0.15 0.10 99.73% 0.05 0.00 4 - 30 u-20 - u u o u + 20 u + 30 Figure 2-1: Probability density Figure 2-1: Probability density You need to write a Python program to numerically integrate the probability density function from u - o to u + o. For convenience, you can assume that u = 0 and o = 1 in this task. 1 You can only use two Python modules, math and random. Hints: To get the integral, you can estimate the area of the region colored in red (called R region)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!