# Finding slope using derivative function

**URL:** <https://cl.desmos.com/t/finding-slope-using-derivative-function/4733>\
**Category:** Questions\
**Created:** [February 20, 2023, 7:22pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733 "2023-02-20T19:22:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pamela\_Davis](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/pamela_davis/32/1890_2.png) [@Pamela\_Davis](https://cl.desmos.com/u/Pamela_Davis)\
**Post date:** [February 20, 2023, 7:22pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/1 "2023-02-20T19:22:57Z")

</div>

I have an activity that allows students to practice using the power rule with derivatives. I would like to add an additional component for the student to find the slope at a specific x value. If possible, I would like to randomize the x value but if needed, it can be 1 to make it easier for coding.

This is the activity that I would like to adapt. I have only added components to slide 2. I hope I will understand how to add the components to the additional screens.

> **[Practice Gradient of Tangent • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/63f3c3af405f857f8bd2ade4)**
>
> by Pamela Davis

Thank you

---

<div class="post-metadata">

**Author:** ![ianmcmeek](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ianmcmeek/32/3966_2.png) [@ianmcmeek](https://cl.desmos.com/u/ianmcmeek)\
**Post date:** [February 21, 2023, 4:46pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/2 "2023-02-21T16:46:31Z")

</div>

Hi Pamela, does this accomplish what you want?

> **[\[Copy of\] Practice Gradient of Tangent • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/63f4dbe3c1b2a06d4338fdfb)**
>
> by Ian M

I used the same strategy you used to generate the coefficients/exponents to generate the x-value to evaluate the gradient at. One drawback is that the value of the gradient is usually absurdly large or small, and I wonder if that could distract students from the desired focus on learning about derivatives. You could further restrict the selection of x-values to, say, -2, -1, 1, or 2, but even then the values can be ‘messy’.

---

<div class="post-metadata">

**Author:** ![Pamela\_Davis](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/pamela_davis/32/1890_2.png) [@Pamela\_Davis](https://cl.desmos.com/u/Pamela_Davis)\
**Post date:** [February 21, 2023, 5:26pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/3 "2023-02-21T17:26:10Z")

</div>

YES!!!

I will go in and restrict the x-values. Thank you!!!

---

<div class="post-metadata">

**Author:** ![Pamela\_Davis](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/pamela_davis/32/1890_2.png) [@Pamela\_Davis](https://cl.desmos.com/u/Pamela_Davis)\
**Post date:** [February 21, 2023, 6:08pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/4 "2023-02-21T18:08:51Z")

</div>

Thank you, Ian, for helping me. After looking at it, I was able to restrict the x-values to -2, -1, 0, 1, 2. I had another thought (I’m not sure if this will work) but I would also like for students to answer a multiple choice question stating if the function is increasing, decreasing, stationary using the gradient that they found. Is there coding that would check for the correct choice? I’ve added the MC question and component on slide 2.

> **[Practice Gradient of Tangent • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/63f3c3af405f857f8bd2ade4?collections=63ebe1a1bff8525cb75b3846)**
>
> by Pamela Davis

Thank you!!

---

<div class="post-metadata">

**Author:** ![ianmcmeek](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/ianmcmeek/32/3966_2.png) [@ianmcmeek](https://cl.desmos.com/u/ianmcmeek)\
**Post date:** [February 21, 2023, 7:31pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/5 "2023-02-21T19:31:31Z")

</div>

Happy to help! What about this:

> **[\[Copy of\] Practice Gradient of Tangent • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/63f50f28f846691005cd0abc)**
>
> by Ian M

I switched the button format in hopes of simplifying the visual layout, but to me it still feels like there is a lot happening for one screen. Maybe it would be worth hiding some components like the ‘New Problem’ button when they are not in use - I’d be happy to take a stab at that if you like.

---

<div class="post-metadata">

**Author:** ![Pamela\_Davis](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/pamela_davis/32/1890_2.png) [@Pamela\_Davis](https://cl.desmos.com/u/Pamela_Davis)\
**Post date:** [February 21, 2023, 9:04pm UTC](https://cl.desmos.com/t/finding-slope-using-derivative-function/4733/6 "2023-02-21T21:04:23Z")

</div>

Perfect!! Thank you again!!!
