How can I create a plot to visualize the 68–95–99.7 rule?
How can I create a plot to visualize the 68–95–99.7 rule? Question: I’ve created a plot of normal distribution like this: fig, ax = plt.subplots() ax.set_title(‘Плотнось распределения вероятности’) ax.set_xlabel(‘x’) ax.set_ylabel(‘f(x)’) x = np.linspace(148, 200, 100) # X от 148 до 200 y = (1 / (5 * math.sqrt(2*math.pi))) * np.exp((-(x-178)**2) / (2*5**2)) ax.plot(x, y) plt.show() …