Skip to content

Loading…

New Exercise maximizing_minimizing_functions#17947

Closed
wants to merge 1 commit into from
+71 −0

3 participants

New exercise which asks to find the maximum and minimum values of a randomly generated cubic polynomial on the interval [-5,5]. This is my first khan exercise so any feedback/advice would be much appreciated

 Michael-Koop `New Exercise maximizing_minimizing_functions` `94616f3`
reopened this

might want to tighten up your data-ensures.

Khan Academy member

We've gotten an overwhelming number of pull requests and unfortunately haven't had time to go through all of them. To get down to a more manageable number, we're (somewhat arbitrarily) closing a bunch of them. :(

Our focus for the next few months will be deepening the content we have for 5th grade level math through trigonometry. To reduce the number of open pull requests to a more manageable size, we're closing pull requests that don't relate directly to that focus. We're also closing all pull requests that were opened before the beginning of 2012.

As we add other subject areas in the future, we'll still be able to use the closed pull requests. If you've submitted something that fills a gap in 5th-trig coverage and we've inadvertently closed it, please feel free to re-open a new pull request.

closed this
to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2012
1. Michael-Koop committed
This page is out of date. Refresh to see the latest.
Showing with 71 additions and 0 deletions.
1. +71 −0 exercises/maximizing_minimizing_functions.html
71 exercises/maximizing_minimizing_functions.html
 @@ -0,0 +1,71 @@ + + + + + Maximizing & Minimizing Functions + + + +
+
+
+
+
+ randRangeNonZero( -4, 4 ) + randRangeNonZero( -4, 4 ) + ( A > 0 ? -1 : 1 ) * randRange( 3, 8 ) + randFromArray([ "\\Delta x", "h" ]) + + /* Zeros of the derivative of the function*/ + randRangeNonZero( -4, 4 ) + randRangeNonZero( -4, 4 ) + + /* Coefficients of derivative of the function (Ax^2 + Bx + C) */ + randRangeNonZero( -2, 2 )*3 + -DER_A * X_1 - DER_A * X_2 + DER_A * X_1 * X_2 + + /* Coefficients of the function (Ax^3 + Bx^2 + Cx + D)*/ + DER_A / 3 + DER_B / 2 + DER_C + randRangeNonZero(-9 , 9) + + /* Possible Extreme Values */ + FUNC_A * pow(X_1,3) + FUNC_B * pow(X_1,2) + FUNC_C * X_1 + FUNC_D + FUNC_A * pow(X_2,3) + FUNC_B * pow(X_2,2) + FUNC_C * X_2 + FUNC_D + FUNC_A * pow(-5,3) + FUNC_B * pow(-5,2) + FUNC_C * (-5) + FUNC_D + FUNC_A * pow(5,3) + FUNC_B * pow(5,2) + FUNC_C * 5 + FUNC_D + max(EXT_1,EXT_2,EXT_3,EXT_4) + min(EXT_1,EXT_2,EXT_3,EXT_4) +
+ randRange( -6, 6 ) +
+
+

What are the maximum and minimum values of the function f(x) = expr(["+", ["*", FUNC_A, ["^", "x", 3]],["*", FUNC_B, ["^", "x", 2]], ["*", FUNC_C, "x"], FUNC_D]) on the interval [-5,5]

+
+
+

Maximum Value: MAX

+

Minimum Value: MIN

+
+
+
+ +
+

We find where the critical points (possible locations of local maxima or minima) of a function f(x) are by setting the derivative f'(x) equal to zero.

+

The derivative of f(x) is f'(x) = expr(["+", ["*", DER_A, ["^", "x", 2]], ["*", DER_B, "x"], DER_C]).

+

We solve f'(x) = expr(["+", ["*", DER_A, ["^", "x", 2]], ["*", DER_B, "x"], DER_C]) = 0 to find the values of x where there are critical points.

+
+

Using the quadratic equation we find that there is only one critical point, x = X_1.

+

Using the quadratic equation we find two critical points x = X_1 and x = X_2.

+
+

We evaluate f(x) at the critical point(s) and the end points of the interval

+
+

We evaluate f(X_1) = EXT_1, f(-5) = EXT_3, and f(5) = EXT_4.

+

We evaluate f(X_1) = EXT_1, f(X_2) = EXT_2, f(-5) = EXT_3, and f(5) = EXT_4.

+
+

On the interval [-5,5] the maximum of f(x) is MAX and the minimum is MIN.

+
+
+ +
Something went wrong with that request. Please try again.