My professor was said that I need to write a function simpson_optimized() which calculates the same as simpson() but with less function evaluation. The original code was: