Difference between revisions of "Category:Subject Area Templates"

From WeBWorK_wiki
Jump to navigation Jump to search
m (Deprecate examples using LiveGraphics3D)
 
(18 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
* [[Matching1|A matching question with popup menus.]] A matching question in two-column format. <font color=gray>(Uses unionTables.pl and PGgraders.pl)</font>
 
* [[Matching1|A matching question with popup menus.]] A matching question in two-column format. <font color=gray>(Uses unionTables.pl and PGgraders.pl)</font>
 
* [[IframeEmbedding1|HTML iframe embedded content.]] A Google slideshow and a YouTube video embedded using iframes.
 
* [[IframeEmbedding1|HTML iframe embedded content.]] A Google slideshow and a YouTube video embedded using iframes.
* [[Scaffolding1|Multi-part question that is sequentially revealed to the student.]] Multiple questions are sequentially revealed to students via scaffolding. <font color=gray>(Uses compoundProblem5.pl)</font>
+
* [[Scaffolding2|Multi-part question that is sequentially revealed to the student.]] Multiple questions are sequentially revealed to students via scaffolding. <font color=gray>(Uses scaffold.pl)</font>
   
 
=== Algebra ===
 
=== Algebra ===
Line 34: Line 34:
 
* [[UnorderedAnswers1|Answers can be entered into several answer blanks in any order.]] Factoring using separate answer blanks and the unordered answer checker. <font color=gray>(Uses unorderedAnswer.pl)</font>
 
* [[UnorderedAnswers1|Answers can be entered into several answer blanks in any order.]] Factoring using separate answer blanks and the unordered answer checker. <font color=gray>(Uses unorderedAnswer.pl)</font>
 
* [[Logarithms1|Answer must be simplified using laws of logarithms.]] Typical laws of logarithms question that disables certain operations so students must simplify their answer.
 
* [[Logarithms1|Answer must be simplified using laws of logarithms.]] Typical laws of logarithms question that disables certain operations so students must simplify their answer.
 
  +
* [[GeoGebra|A GeoGebra applet must be manipulated into place.]] Move two points into position such that their line is the line defined by a given equation.
   
 
=== Trigonometry ===
 
=== Trigonometry ===
Line 42: Line 42:
 
* [[TrigFunctionsDegrees1|Trig functions in degrees.]] Trig functions are redefined to be in degrees.
 
* [[TrigFunctionsDegrees1|Trig functions in degrees.]] Trig functions are redefined to be in degrees.
 
* [[TrigIdentities1|Requiring trig identities be used.]] Cleverly redefining functions so that students must apply trig identities.
 
* [[TrigIdentities1|Requiring trig identities be used.]] Cleverly redefining functions so that students must apply trig identities.
* [[ProvingTrigIdentities1|Proving trig identities 1.]] A multi-part question that walks students through proving a trig identity. All parts are revealed sequentially and shown on the same page.
+
* [[ProvingTrigIdentities3|Proving trig identities.]] A multi-part question that walks students through proving a trig identity. All parts are revealed sequentially and shown on the same page. <font color=gray>(Uses scaffold.pl)</font>
* [[ProvingTrigIdentities2|Proving trig identities 2.]] The same multi-part question, but with each part shown on its own page. <font color=gray>(Uses compoundProblem.pl)</font>
 
 
   
 
=== Precalculus ===
 
=== Precalculus ===
Line 69: Line 69:
 
* [[GraphShading1|Find the area of the shaded region.]] A dynamically generated graph with a shaded region. <font color=gray>(Uses PGgraphmacros.pl and unionTables.pl)</font>
 
* [[GraphShading1|Find the area of the shaded region.]] A dynamically generated graph with a shaded region. <font color=gray>(Uses PGgraphmacros.pl and unionTables.pl)</font>
 
* [[IndefiniteIntegrals1|Indefinite integrals and general antiderivatives.]] Checks whether a student's answer differs from the correct answer by a constant. <font color=gray>(Uses parserFormulaUpToConstant.pl)</font>
 
* [[IndefiniteIntegrals1|Indefinite integrals and general antiderivatives.]] Checks whether a student's answer differs from the correct answer by a constant. <font color=gray>(Uses parserFormulaUpToConstant.pl)</font>
* [[GeoGebra1|Interactive GeoGebra applet for the Fundamental Theorem of Calculus.]] Shows how to construct and include a GeoGebra (Java) applet. <font color=gray>(Uses AppletObjects.pl)</font>
+
* [[GeoGebraWeb1|Interactive GeoGebraWeb JavaScript applet for the Fundamental Theorem of Calculus.]] Shows how to construct and include a GeoGebra (JavaScript) applet. <font color=gray>(Uses AppletObjects.pl)</font>
 
* [[LimitsOfIntegration1|Answer blanks in the limits of integration.]] Uses tables cleverly to put answer blanks into the limits of integration. <font color=gray>(Uses PGunion.pl and answerHints.pl)</font>
 
* [[LimitsOfIntegration1|Answer blanks in the limits of integration.]] Uses tables cleverly to put answer blanks into the limits of integration. <font color=gray>(Uses PGunion.pl and answerHints.pl)</font>
 
* [[Volume1|Volume of solids of revolution 1.]] Requires students to set up an integral and the answer blanks are weighted. <font color=gray>(Uses weightedGrader.pl)</font>
 
* [[Volume1|Volume of solids of revolution 1.]] Requires students to set up an integral and the answer blanks are weighted. <font color=gray>(Uses weightedGrader.pl)</font>
 
* [[Volume2|Volume of solids of revolution 2.]] Requires students to set up an integral, the answer blanks are weighted, and the final answer provides full credit. <font color=gray>(Uses weightedGrader.pl)</font>
 
* [[Volume2|Volume of solids of revolution 2.]] Requires students to set up an integral, the answer blanks are weighted, and the final answer provides full credit. <font color=gray>(Uses weightedGrader.pl)</font>
 
* [[Volume3|Volume of solids of revolution 3.]] Requires students to set up an integral and all answers must be correct for any credit to be awarded.
 
* [[Volume3|Volume of solids of revolution 3.]] Requires students to set up an integral and all answers must be correct for any credit to be awarded.
 
   
 
=== Sequences and Series ===
 
=== Sequences and Series ===
Line 87: Line 86:
   
 
* [[PolarGraph1|Graphing a parametric curve in 2D.]] Plotting a polar curve in the plane.
 
* [[PolarGraph1|Graphing a parametric curve in 2D.]] Plotting a polar curve in the plane.
* [[SpacecurveGraph1|Graphing a parametric curve in 3D.]] Plotting a parametric curve in 3D space. <font color=gray>(Uses LiveGraphicsParametricCurve3D.pl)</font>
+
* [[SpacecurveGraph1|Deprecated: Graphing a parametric curve in 3D.]] Plotting a parametric curve in 3D space. <font color=gray>(Uses LiveGraphicsParametricCurve3D.pl)</font>
* [[SurfaceGraph1|Graphing a parametric surface in 3D.]] Plotting a parametric surface in 3D space. <font color=gray>(Uses LiveGraphicsParametricSurface3D.pl)</font>
+
* [[SurfaceGraph1|Deprecated: Graphing a parametric surface in 3D.]] Plotting a parametric surface in 3D space. <font color=gray>(Uses LiveGraphicsParametricSurface3D.pl)</font>
 
* [[Spacecurve1|Answer is a parametric curve in space.]] Uses three separate answer blanks that are controlled by MultiAnswer. <font color=gray>(Uses parserMultiAnswer.pl)</font>
 
* [[Spacecurve1|Answer is a parametric curve in space.]] Uses three separate answer blanks that are controlled by MultiAnswer. <font color=gray>(Uses parserMultiAnswer.pl)</font>
 
* [[VectorParametric1|Answer is a vector parametric curve in the plane.]] Requires students to enter a vector parametric curve with correct domain. <font color=gray>(Uses parserMultiAnswer.pl and parserVectorUtils.pl)</font>
 
* [[VectorParametric1|Answer is a vector parametric curve in the plane.]] Requires students to enter a vector parametric curve with correct domain. <font color=gray>(Uses parserMultiAnswer.pl and parserVectorUtils.pl)</font>
 
* [[VectorParametric2|Answer involves a vector parametric curve and its derivatives.]] Shows how to get the components of a vector-valued function, and uses a custom answer checker. <font color=gray>(Uses parserVectorUtils.pl)</font>
 
* [[VectorParametric2|Answer involves a vector parametric curve and its derivatives.]] Shows how to get the components of a vector-valued function, and uses a custom answer checker. <font color=gray>(Uses parserVectorUtils.pl)</font>
 
* [[VectorParametricLines1|Answer is a vector parametric line.]] Shows how to require a particular parametrization or allow any parametrization. <font color=gray>(Uses parserVectorUtils.pl and parserParametricLine.pl)</font>
 
* [[VectorParametricLines1|Answer is a vector parametric line.]] Shows how to require a particular parametrization or allow any parametrization. <font color=gray>(Uses parserVectorUtils.pl and parserParametricLine.pl)</font>
 
   
 
=== Multivariable Differential Calculus ===
 
=== Multivariable Differential Calculus ===
Line 111: Line 109:
 
* [[VectorOperations1|Vector operations.]] Dot product, cross product, length, unit vectors, parallel vectors. <font color=gray>(Uses parserVectorUtils.pl and unionLists.pl)</font>
 
* [[VectorOperations1|Vector operations.]] Dot product, cross product, length, unit vectors, parallel vectors. <font color=gray>(Uses parserVectorUtils.pl and unionLists.pl)</font>
 
* [[VectorFieldGraph2D1|Graphing a vector field in 2D.]] Plotting a vector field in the plane. <font color=gray>(Uses PGgraphmacros.pl and VectorField2D.pl)</font>
 
* [[VectorFieldGraph2D1|Graphing a vector field in 2D.]] Plotting a vector field in the plane. <font color=gray>(Uses PGgraphmacros.pl and VectorField2D.pl)</font>
* [[VectorFieldGraph3D1|Graphing a vector field in 3D.]] Plotting a vector field in space. <font color=gray>(Uses LiveGraphicsVectorField3D.pl)</font>
+
* [[VectorFieldGraph3D1|Deprecated: Graphing a vector field in 3D.]] Plotting a vector field in space. <font color=gray>(Uses LiveGraphicsVectorField3D.pl)</font>
 
   
 
=== Differential Equations ===
 
=== Differential Equations ===
Line 117: Line 115:
 
* [[HeavisideStep1|Using the Heaviside step function]] We show how to evaluate answers involving the Heaviside step function. <font color=gray>(Uses parserFunction.pl)</font>
 
* [[HeavisideStep1|Using the Heaviside step function]] We show how to evaluate answers involving the Heaviside step function. <font color=gray>(Uses parserFunction.pl)</font>
 
* [[SlopeFieldGraph1|Graphing a slope field.]]
 
* [[SlopeFieldGraph1|Graphing a slope field.]]
* [[AdaptiveParameters1|General solutions to ODEs with arbitrary constants.]] http://webwork.maa.org/moodle/mod/forum/discuss.php?d=378 and http://webwork.maa.org/moodle/mod/forum/discuss.php?d=324
 
  +
* [[GeneralSolutionODE1|General solutions to ODEs with arbitrary constants.]] Uses a custom answer checker to determine that the student answer satisfies the given ODE. <font color=gray>(Uses parserAssignment.pl)</font>
* [[PrimesInFormulas1|Primes in formulas]] http://webwork.maa.org/moodle/mod/forum/discuss.php?d=442
+
* [[PrimesInFormulas1|Primes in formulas]] see [https://github.com/openwebwork/webwork-open-problem-library/blob/master/OpenProblemLibrary/FortLewis/Authoring/Templates/DiffEq/PrimesInFormulas1_PGML.pg FortLewis/Authoring/Templates/DiffEq/PrimesInFormulas1_PGML.pg]and http://webwork.maa.org/moodle/mod/forum/discuss.php?d=442
 
   
 
=== Linear Algebra ===
 
=== Linear Algebra ===
Line 134: Line 132:
 
=== Miscellaneous Topics ===
 
=== Miscellaneous Topics ===
   
* Chemistry http://webwork.maa.org/moodle/mod/forum/discuss.php?d=449
+
* [[ChemicalReaction1|Chemical reactions.]] Question asks students to balance a chemical equation. <font color=gray>(Uses contextReaction.pl)</font> See also [http://webwork.maa.org/moodle/mod/forum/discuss.php?d=449 this forum post.]
 
* JavaScript graphing http://webwork.maa.org/moodle/mod/forum/discuss.php?d=431
 
* JavaScript graphing http://webwork.maa.org/moodle/mod/forum/discuss.php?d=431
 
* HTML input for dynamic problem adjustments http://webwork.maa.org/moodle/mod/forum/discuss.php?d=2351
 
* HTML input for dynamic problem adjustments http://webwork.maa.org/moodle/mod/forum/discuss.php?d=2351
 
   
 
=== Graphing ===
 
=== Graphing ===
Line 144: Line 141:
 
* [[RiemannSums1|Dynamically generated graphs with Riemann sums.]] Has graphs with shaded (filled) regions. <font color=gray>(Uses weightedGrader.pl and PGgraphmacros.pl)</font>
 
* [[RiemannSums1|Dynamically generated graphs with Riemann sums.]] Has graphs with shaded (filled) regions. <font color=gray>(Uses weightedGrader.pl and PGgraphmacros.pl)</font>
 
* [[GraphShading1|Find the area of the shaded region.]] A dynamically generated graph with a shaded region. <font color=gray>(Uses PGgraphmacros.pl and unionTables.pl)</font>
 
* [[GraphShading1|Find the area of the shaded region.]] A dynamically generated graph with a shaded region. <font color=gray>(Uses PGgraphmacros.pl and unionTables.pl)</font>
* [[GeoGebra1|Interactive GeoGebra applet for the Fundamental Theorem of Calculus.]] Shows how to construct and include a GeoGebra (Java) applet. <font color=gray>(Uses AppletObjects.pl)</font>
 
 
* [[PolarGraph1|Graphing a parametric curve in 2D.]] Plotting a polar curve in the plane.
 
* [[PolarGraph1|Graphing a parametric curve in 2D.]] Plotting a polar curve in the plane.
 
* [[ContourPlot1|Contour plots.]] Shows how to construct a contour plot with a color gradient and labeled contours.
 
* [[ContourPlot1|Contour plots.]] Shows how to construct a contour plot with a color gradient and labeled contours.
 
* [[VectorFieldGraph2D1|Graphing a vector field in 2D.]] Plotting a vector field in the plane. <font color=gray>(Uses PGgraphmacros.pl and VectorField2D.pl)</font>
 
* [[VectorFieldGraph2D1|Graphing a vector field in 2D.]] Plotting a vector field in the plane. <font color=gray>(Uses PGgraphmacros.pl and VectorField2D.pl)</font>
 
   
 
=== Links to Documentation ===
 
=== Links to Documentation ===
   
 
* [http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone
 
* [http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone
* [http://webwork.maa.org/pod/pg_TRUNK/ POD documentation] (POD - Plain Old Documentation)
+
* [http://webwork.maa.org/pod/pg POD documentation] (POD - Plain Old Documentation)
 
* [http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.
 
* [http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.
 
* [http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.
 
* [http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.

Latest revision as of 17:25, 7 April 2021

Any additions to the problems below should use the format of the full problem template. Also, your example should illustrate the technique without giving away the answer to an existing WeBWorK question.

Complete Problem Authoring Templates by Subject Area

This page has complete examples of problem templates organized by subject area. Within each subject, we give an explicit and brief description of the essential characteristics of each type of question. To keep overlap to a minimum, we try to give an example of each problem technique exactly once, which means you may need to look for a particular problem technique under other subject headings until you find it. We try to give a fairly complete list of techniques, rather than a complete list of types of questions that one might ask in each subject. All of these questions exist in the Open Problem Library (OPL) at OpenProblemLibrary/FortLewis/Authoring/Templates/ A detailed list of code snippets for specific problem techniques has it's own category: index of problem techniques.


Miscellaneous Templates

Algebra

Trigonometry

Precalculus


Differential Calculus


Integral Calculus

Sequences and Series


Parametric Equations and Vector Parametric Equations

Multivariable Differential Calculus

Multivariable Integral Calculus


Vector Calculus

Differential Equations

Linear Algebra

Complex Analysis

Miscellaneous Topics

Graphing

Links to Documentation

Subcategories

This category has only the following subcategory.

S

Pages in category "Subject Area Templates"

The following 83 pages are in this category, out of 83 total.