We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 5: Normal Distribution I
Day 5: Normal Distribution I
Sort by
recency
|
133 Discussions
|
Please Login in order to post a comment
in R Could be:
JS
Python 3
from statistics import NormalDist
m,s=map(int,input().split())
x=float(input())
a,b=map(int,input().split())
z1=(x-m)/s print(NormalDist().cdf(z1))
z2=(a-m)/s z3=(b-m)/s print(NormalDist().cdf(z3)-NormalDist().cdf(z2))