You are viewing a single comment's thread. Return to all comments →
python3
import sys import math as m mu, sig = map(float, input().split()) g1 = float(input()) g2 = float(input()) z1 = (g1 - mu)/(sig*m.sqrt(2)) z2 = (g2 - mu)/(sig*m.sqrt(2)) print(round(100*(0.5 - 0.5*m.erf(z1)),2)) print(round(100*(0.5 - 0.5*m.erf(z2)),2)) print(round(100*(0.5 + 0.5*m.erf(z2)),2))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Normal Distribution II
You are viewing a single comment's thread. Return to all comments →
python3