Function Repository Resource:

# SlopeFieldQuiz

Generate a quiz to assess understanding of slope fields

Contributed by: Jordan Hasler, Wolfram|Alpha Math Team
 ResourceFunction["SlopeFieldQuiz"][] returns an interactive quiz for matching a slope field generated by a specified differential equation.

## Details

ResourceFunction["SlopeFieldQuiz"] generates a differential equation for which the user then specifies matching vectors corresponding to the discretized slope field with a correctness threshold of ±.3.
To take the quiz, set the slope at each point by clicking to the right of the point.
The interface returned by ResourceFunction["SlopeFieldQuiz"] includes the following buttons:
 Check answer automatically grades input with feedback Reset problem resets the problem by clearing the accumulated data table and moving locators back to their starting positions 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
Styling and interface controls may be found under the "Display options" opener.

## Examples

### Basic Examples (1)

Generate an interface to quiz yourself on plotting a slope field by adjusting vectors on a graph:

 In[1]:=
 Out[1]=

### Scope (3)

Clicking Check answer will mark attempts for correctness based on whether or not the conditions of the description are met. Correct answers receive a green check mark:

 In[2]:=
 Out[2]=

If an attempt does not approximately meet the specified criteria, it is marked as incorrect with a red x:

 In[3]:=
 Out[3]=

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

 In[4]:=
 Out[4]=

## Publisher

Wolfram|Alpha Math Team

## Version History

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

## Author Notes

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

 In[1]:=