Lesson 2: Creating a dynamic curve simulation