Exercise 11.1: Plotting a function
Plot the function f(x) = sin2(x − 2)e−x2 over the interval [0, 2]. Add proper axis labels, a title, etc.
import numpy as np
import matplo