{% extends "layout.html" %} {% block title %} Optimized {% endblock %} {% block main %}
Your function is $f(x) = {{ f }}$
Your maximum value is ${{ max_output }}$ and your minimum value is ${{ min_output }}$
| Step 1 | Take the Derivative |
| $f'(x) = {{ fprime }}$ | |
| Step 2 | Set $f'(x) = 0$ |
| $0 = {{ fprime }}$ | |
| Step 3 | Solve for $x$: |
| $x = {{ extrema }}$ | |
| Step 4 | Plug VALID solutions and endpoints into $f(x)$: |
| $f({{ candidate }}) = {{candidatesY[loop.index - 1]}}$ | |
| Step 5 | Grab the highest and lowest values |
| Your maximum value is ${{ max_output }}$ | |
| Your minimum value is ${{ min_output }}$ |