Function Repository Resource:

# CubicDescriptionPlotQuiz

Generate an interactive graphical quiz on the plotting of cubic functions

Contributed by: Jeremy Stratton-Smith, Wolfram|Alpha Math Team
 ResourceFunction["CubicDescriptionPlotQuiz"][] returns an interactive assessment on plotting cubic functions.

## Details

ResourceFunction["CubicDescriptionPlotQuiz"] will choose an arbitrary cubic function, described either in terms of a functional equation y=f(x) or in terms of y-intercepts and zeros. The user is then tested on their ability to graph the given function by moving the locator points to make the curve match the description.
The interface returned by ResourceFunction["CubicDescriptionPlotQuiz"] includes the following buttons:
 Check answer automatically grades input with feedback Next problem randomly generates a new problem and internally saves the previous problem history Print report prints a description of the problems that have been attempted so far, all guesses made and whether the last guess on each problem was correct
For the specified cubic function f(x), a locator point should be within 0.5 of f(x) for its x value to be marked as correct.
Styling and interface controls may be found under the "Display options" opener.

## Examples

### Basic Examples (1)

Generate a quiz on plotting a cubic function by moving points on a graph:

 In[1]:=
 Out[1]=

### Scope (4)

Clicking Check answer marks attempts as correct based on whether or not the conditions of the description are met:

 In[2]:=
 Out[2]=

If an attempt does not approximately meet the specified criteria, clicking Check answer marks the attempt as incorrect with a red x:

 In[3]:=
 Out[3]=

For some problems, it may help to turn "Snap to grid" on under the "Display options" menu to more easily get integer-value points:

 In[4]:=
 Out[4]=

Clicking the Print Report button returns a description of the problems that have been attempted so far, all guesses made and whether the last guess on each problem was correct:

 In[5]:=
 Out[5]=

## Publisher

Wolfram|Alpha Math Team

## Version History

• 2.0.0 – 23 March 2023
• 1.0.0 – 18 March 2021

## Author Notes

To view the full source code for CubicDescriptionPlotQuiz, evaluate the following:

 In[1]:=