• + 0 comments

    Solution:

    import math as m
    mn, std, z = 500*100, 80*m.sqrt(100), 1.96
    A, B = (mn-z*std)/100, (mn+z*std)/100
    print(f'{A:.2f}\n{B:.2f}')
    

    Check:

    def cdf(mn, std, x):
        return 1/2 * (1 + m.erf((x-mn)/(std*m.sqrt(2))))
    print(f'{cdf(mn, std, B*100) - cdf(mn, std, A*100):.2f}')