Playgrounds

I will post all the playgrounds here!

Playground 1 [Monday June 2]:

  1. Introduce yourselves in the forum.

  2. Create your own numerical derivative estimator and your own Riemann sum integrator in python. Apply them both to the following functions and compare with analytic expressions:

  3. Listen to this podcast on growth mindset:

  4. . Estimate the volume of this cylinder using the tools we discussed in class (many contributions of small things):

Playground 2 {Wednesday June 4]:

  1. Expand in Taylor these functions around x = 0 up to fifth order (x^5):

  2. Visually study how the approximations look in comparison to the original ones using python

  3. Focus on Sin(x) and think about this:

Is the 5-order Taylor series the best 5 order polynomial for Sin(x) between –pi and pi?

No—at least not if “best” means minimizing the maximum error on [−π, π]. The degree-5 Taylor polynomial matches sin(x) and its derivatives at 0, but the minimax/Chebyshev polynomial can have a smaller maximum deviation. Taylor coefficients are fixed by local behavior at x=0, so they do not optimize the whole interval. Plotting the error curves for both would make the difference clear.