Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 8 of 20 · about 16 min

Optimization

What ticket price brings Splash Park the most money? What shape of splash pad gives the most space from 60 m of fence? At the very top of a hill the ground is level, so the best answer sits where the derivative is zero. You'll find both answers by hand and by formula, learn how to tell a peak from a valley, and write a program that finds the best price on its own.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • Critical point
  • Second derivative test

Free to try in F09 Calculus for CS:

The first 3 lessons of every course are free, no account needed.