Difference between revisions of "SubjectAreaTemplates"

From WeBWorK_wiki
Jump to navigation Jump to search
(Redirected page to Category:Subject Area Templates)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="background-color:#bbffbb; border:blue solid 2px; padding:5px; width:35%; float:right; margin:5px">''Any additions to the problems below should use the format of the [[FullProblemTemplate|full problem template]]. Also, your example should illustrate the technique without giving away the answer to an existing WeBWorK question.''</div>
 
  +
#REDIRECT [[Category:Subject Area Templates]]
 
== Complete Problem Authoring Templates by Subject Area ==
 
 
<div style="background-color:#f9f9f9; border:black solid 1px; padding:3px">
 
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 National Problem Library (NPL) at <code>NationalProblemLibrary/FortLewis/Authoring/Templates/</code> A detailed list of code snippets for specific problem techniques has it's own category: [[IndexOfProblemTechniques|index of problem techniques]].
 
</div>
 
 
 
=== Miscellaneous Templates ===
 
 
* [[FormulaAnswer1|Answer is a number or a function.]] The most commonly used template file.
 
* [[FormulaDomain1|Answer is a function with domain issues.]] We show how to set the domain and test points for evaluation and give customized answer hints. <font color=gray>(Uses answerHints.pl)</font>
 
* [[MultipleChoiceRadio1|A multiple choice question with radio buttons.]] There is only one correct answer and all choices are shown.
 
* [[MultipleChoicePopup2|A multiple choice question with a popup menu.]] There is only one correct answer and the choices are hidden until the menu is clicked on.
 
* [[MultipleChoiceCheckbox3|A multiple choice question with checkboxes.]] There is possibly more than one correct answer and all choices are shown.
 
* [[ManyMultipleChoice1|A list of many multiple choice questions with popup menus.]] For several multiple choice questions that share common answers. <font color=gray>(Uses 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>
 
 
 
=== Algebra ===
 
 
* [[FractionAnswer1|Answer is a fraction (rational number).]] This question requires students to simplify their answer. <font color=gray>(Uses contextFraction.pl)</font>
 
* [[AlgebraicFractionAnswer1|Answer is an algebraic fraction.]] Uses two answer blanks for the fraction and requires students simplify their answer. <font color=gray>(Uses parserMultiAnswer.pl)</font>
 
* [[AnswerBlankInExponent1|Answer blank in the exponent.]] For questions about simplifying exponents.
 
* [[EquationDefiningFunction1|Answer is a an equation that defines a function.]] The answer is an equation of the form y = f(x). <font color=gray>(Uses parserAssignment.pl)</font>
 
* [[EquationImplicitFunction1|Answer is an equation that implicitly defines a function.]] An equation for a circle. <font color=gray>(Uses parserImplicitEquation.pl)</font>
 
* [[SolutionForEquation1|Answer is any solution to an equation.]] Checks whether the student answer is a solution to an equation. <font color=gray>(Uses parserSolutionFor.pl)</font>
 
* [[InequalityAnswer1|Answer is an inequality.]] Standard solve an inequality question. <font color=gray>(Uses contextInequalities.pl)</font>
 
* [[ExpandedPolynomial1|Answer is a fully expanded and simplified polynomial.]] Multiplying two linear terms together and collecting like terms. <font color=gray>(Uses contextLimitedPolynomial.pl)</font>
 
* [[FactoredPolynomial1|Answer is a factored polynomial.]] Standard factoring a quadratic question. <font color=gray>(Uses contextPolynomialFactors.pl and contextLimitedPowers.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.
 
 
 
=== Trigonometry ===
 
 
* [[PeriodicAnswers1|Answers that are periodic.]] The student answer is evaluated modulo the period.
 
* [[DisableFunctions1|Disabling functions so students must simplify answers.]] Unit circle trig question requiring students enter fractional answers. <font color=gray>(Uses contextFraction.pl)</font>
 
* [[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.
 
* [[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.
 
* [[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 ===
 
 
* [[DomainRange1|Domain and range of a function.]] Requires students to enter answers as inequalities using correct variables. <font color=gray>(Uses contextInequalities.pl)</font>
 
* [[DynamicGraph1|Dynamically generated graph.]] A dynamically generated graph placed side-by-side with text. <font color=gray>(Uses PGgraphmacros.pl and unionTables.pl)</font>
 
* [[FunctionDecomposition1|Function decomposition.]] Write a given function as a composition of two non-identity functions. <font color=gray>(Uses answerComposition.pl)</font>
 
* [[ScalingTranslating1|Scaling and translating functions.]] Adding a named function to the context for a scaling and translating question. <font color=gray>(Uses parserFunction.pl)</font>
 
* [[TableOfValues1|Table of values for a function.]] Fill in a table of values for a function.
 
* [[StringOrOtherType1|Answer could be a string, or a number, or a function, etc.]] For when a single answer could be a string or one of several other data types.
 
* [[AnswerUpToMultiplication1|Answer is a function up to multiplication.]] Answer is any quadratic with the specified roots. Uses a custom answer checker and adaptive parameters.
 
* [[PointAnswers1|Answer is a point or list of points.]] Finding the x-intercepts and y-intercepts of function, with lists of points as answers. <font color=gray>(Uses contextLimitedPoint.pl)</font>
 
 
 
=== Differential Calculus ===
 
 
* [[DifferentiateFunction1|Differentiating and evaluating a function.]] Differentiating functions and controlling how they are evaluated and answers are displayed. <font color=gray>(Uses unionLists.pl)</font>
 
* [[AnswerWithUnits1|Answer is a number or formula with units.]] A velocity question with units. <font color=gray>(uses parserNumberWithUnits.pl and parserFormulaWithUnits.pl)</font>
 
* [[DifferenceQuotient1|Answer is a difference quotient.]] Students are required to simplify their difference quotient. <font color=gray>(Uses parserDifferenceQuotient.pl)</font>
 
* [[LinearApprox1|Linear approximation.]] Gives hints to students who enter a number instead of an equation for a line. <font color=gray>(Uses answerHints.pl and parserAssignment.pl)</font>
 
 
 
=== Integral Calculus ===
 
 
* [[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>
 
* [[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>
 
* [[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>
 
* [[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.
 
 
 
=== Sequences and Series ===
 
 
* [[AnswerOrderedList1|Answer is an ordered list.]] The answer is a sequence of numbers.
 
* [[RecursiveSequence1|Sequences and recursively defined functions.]] We add a named function (dummy function) to the context for a recursively defined function. <font color=gray>(Uses parserFunction.pl)</font>
 
* [[Sequences2|Sequences with explicit formulas.]] Restricts the domain of the formula to positive integers to avoid errors in answer evaluation.
 
* [[SeriesTest1|Series tests.]] Requiring students to justify their answers for a series test. <font color=gray>(Uses parserMultiAnswer.pl, PGgraders.pl, and unionTables.pl)</font>
 
 
 
=== Parametric Equations and Vector Parametric Equations ===
 
 
* [[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>
 
* [[SurfaceGraph1|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>
 
* [[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>
 
* [[VectorParametricLines1|Answer is a vector parametric lines.]] Shows how to require a particular parametrization or allow any parametrization. <font color=gray>(Uses parserVectorUtils.pl and parserParametricLine.pl)</font>
 
 
 
=== Multivariable Differential Calculus ===
 
 
* [[ImplicitPlane1|Answer is an equation for a line (in 2D) or a plane (in 3D).]] The answer can be any linear (affine) equation. <font color=gray>(Uses parserImplicitPlane.pl)</font>
 
* [[ContourPlot1|Contour plots.]] Shows how to construct a contour plot with a color gradient and labeled contours.
 
* [[Graph3DRectangular1|Interactive 3D graph of a function in rectangular coordinates.]] Uses LiveGraphics3D Java applet to display an interactive graph. <font color=gray>(Uses LiveGraphicsRectangularPlot3D.pl)</font>
 
* [[Graph3DCylindrical1|Interactive 3D graph of a function in cylindrical coordinates.]] Uses LiveGraphics3D Java applet to display an interactive graph. <font color=gray>(Uses LiveGraphicsCylindricalPlot3D.pl)</font>
 
 
 
=== Multivariable Integral Calculus ===
 
 
* [[DoubleIntegral1|Setting up a double integral.]] Allows a double integral to be set up in either order. <font color=gray>(Uses parserMultiAnswer.pl)</font>
 
 
 
=== Vector Calculus ===
 
 
* [[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>
 
* [[VectorFieldGraph3D1|Graphing a vector field in 3D.]] Plotting a vector field in space. <font color=gray>(Uses )</font>
 
 
 
=== Differential Equations ===
 
 
* [[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.]]
 
* [[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
 
* [[PrimesInFormulas1|Primes in formulas]] http://webwork.maa.org/moodle/mod/forum/discuss.php?d=442
 
 
 
=== Linear Algebra ===
 
 
* Matrices and matrix operations http://webwork.maa.org/moodle/mod/forum/discuss.php?d=354
 
 
 
=== Complex Analysis ===
 
 
 
=== Miscellaneous Topics ===
 
 
* Chemistry http://webwork.maa.org/moodle/mod/forum/discuss.php?d=449
 
* 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
 
 
 
=== Graphing ===
 
 
* [[DynamicGraph1|Dynamically generated graph.]] A dynamically generated graph placed side-by-side with text. <font color=gray>(Uses PGgraphmacros.pl and unionTables.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>
 
* [[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.
 
* [[SpacecurveGraph1|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>
 
* [[ContourPlot1|Contour plots.]] Shows how to construct a contour plot with a color gradient and labeled contours.
 
* [[Graph3DRectangular1|Interactive 3D graph of a function in rectangular coordinates.]] Uses LiveGraphics3D Java applet to display an interactive graph. <font color=gray>(Uses LiveGraphicsRectangularPlot3D.pl)</font>
 
* [[Graph3DCylindrical1|Interactive 3D graph of a function in cylindrical coordinates.]] Uses LiveGraphics3D Java applet to display an interactive graph. <font color=gray>(Uses LiveGraphicsCylindricalPlot3D.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>
 
 
=== Links to Documentation ===
 
 
* [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/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.
 
 
 
[[Category:Top]]
 
[[Category:Authors]]
 

Latest revision as of 16:40, 3 January 2012