Computational Physics, Python, Interpolation, Differentiation, Integration.
plt.ylim(0.5,1.1) plt.show() Out: 0.8862269058150533 Special Functions A common thing one encounters in physics is the need to use special functions. Many of these are implemented in scipy for us from scipy import special as sp x=np.linspace(-10,1,102) plt.plot(x,sp.gamma(x))