Use your favorite technology tool (e.g. Maple, Mathematica, Matlab, Python, pencil) to generate the Legendre polynomial expansion to the function \(f(z)=\sin(\pi z)\). How many terms do you need to include in a partial sum to get a “good” approximation to \(f(z)\) for \(-1<z<1\)? What do you mean by a “good” approximation? How about the interval \(-2<z<2\)? How good is your approximation? Discuss your answers. Answer the same set of questions for the function \(g(z)=\sin(3\pi z)\)