Solutions

Learn the solutions to the exercises from the previous lesson.

We hope you’ve dedicated time to try to solve the exercises. Please remember that this kind of practice will help you grasp the content faster and better.

In case you want to check if your answer is right or if you got stuck in some of those exercises, we’ll solve all of them here. Let’s get started!

Exercise 1: The can of soda

Now we’re going to solve, once and for all, the problem of the soda can. Last time, we needed to add a restriction because we didn’t know how to calculate minima exactly.

To solve this problem, we can employ the code to calculate minima and maxima using the derivative, and substitute the function for the one that describes the surface of the can.

Get hands-on with 1400+ tech skills courses.