Skip to main content

Posts

Showing posts from March, 2022

Gaussian Distribution Function with the Help of Python

INPUT :- import matplotlib.pyplot as plt import numpy as np def g(x):  return (27.9*np.exp(-2500*((x-67.45)**2))) x=np.linspace(67.4,67.5,20000) g=g(x) plt.plot(x,g) plt.xlabel("x") plt.ylabel("Distribution Function") plt.title("Gaussian Distribution") plt.savefig('Gaussian Distribution Function') plt.show() OUTPUT:- Sayantan Datta©2022