Week 12: The partial derivatives and their application to optimization