I am trying to calculate the value of the Gaussian function using the following definition
from math import e
def function(x):
return 100 / (e**((x-2000)**2))**1/16
But I am getting an overflow with values of 20000, 30000, 1000000, etc. Do you know a workaround Thanks!