def fg1eu(x):
 return (x + (0.5 * np.exp(((-50) * ((x - 0.5) ** 2)))))

def fg1eu ( x ) : return ( x + ( 0.5 * np . exp ( ( ( - 50 ) * ( ( x - 0.5 ) ** 2 ) ) ) ) )
eubank similar to fan and gijbels example function 1 .