Function Repository Resource:

SlopeFieldQuiz

Source Notebook

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 answerautomatically grades input with feedback
Reset problemresets the problem by clearing the accumulated data table and moving locators back to their starting positions
Next problemrandomly generates a new problem and internally saves the previous problem history
Print reportprints 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]:=
ResourceFunction["SlopeFieldQuiz"][]
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]:=
ResourceFunction["SlopeFieldQuiz"][]
Out[2]=

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

In[3]:=
ResourceFunction["SlopeFieldQuiz"][]
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]:=
ResourceFunction["SlopeFieldQuiz"][]
Out[4]=

Publisher

Wolfram|Alpha Math Team

Version History

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

Related Resources

Author Notes

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

In[1]:=
SystemOpen[
 FileNameJoin[{DirectoryName[FindFile["ResourceFunctionHelpers`"]], "SlopeFieldQuiz.wl"}]]

License Information