Pred S.

asked • 06/23/22

Python Question regarding normal distribution probability

Suppose the annual rainfall, in inches, in some region is normally distributed with μ=10 and σ=5. What is the probability that it takes (strictly) more than 10 years before a year with 20 inches of rain occurs (assuming each year's rainfall is independent)?


To specify a different mean, μ, and standard deviation, σ, use the loc and scale keywords like so: norm.cdf(a, loc = mu, scale = sigma)


Use norm.cdf as appropriate and, once again, assign your answer to the variable ans. Do NOT round your answer.


Only use norm.cdf and no other imports. The 3rd and 4th decimal places for the answer equal 44.

Joshua H.

tutor
We can't just deliver source code to you, but this is a straightforward project that a tutor could walk you through.
Report

07/13/22

1 Expert Answer

By:

Raymond C. answered • 07/24/23

Tutor
5 (264)

Bio-Physics PhD with 4+ years tutoring in Python/Machine Learning

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.