• + 0 comments

    import scipy.stats as st import math

    pop_mean = 205 pop_sd = 15 sample_size = 49 x = 9800/49

    sample_sd = pop_sd/math.sqrt(sample_size)

    z_score = (x-pop_mean)/sample_sd

    prob = st.norm.cdf(z_score)

    print( '{:0.4f}'.format(prob))