Exercises: Numerical Optimization and Geometric Integration on Manifolds