Difference between revisions of "Problem Techniques"

From WeBWorK_wiki
Jump to navigation Jump to search
(19 intermediate revisions by 7 users not shown)
Line 6: Line 6:
 
<ul>
 
<ul>
 
<li>[http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone</li>
 
<li>[http://webwork.maa.org/wiki/Category:MathObjects MathObjects documentation] Written by Davide Cervone</li>
<li>[http://webwork.maa.org/pod/pg_TRUNK/ POD documentation] (POD - Plain Old Documentation)</li>
+
<li>[http://webwork.maa.org/pod/pg/ POD documentation] (POD - Plain Old Documentation)</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/macros/ PG macro files] Source code for pg/macros files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.</li>
 
<li>[http://webwork.maa.org/viewvc/system/trunk/pg/lib/ PG library files] Source code for pg/lib files.</li>
Line 34: Line 34:
 
* [[GeoGebraApplets|Applet Example: GeoGebra]]
 
* [[GeoGebraApplets|Applet Example: GeoGebra]]
 
* [[Sage_Embedding|Applet Example: Embedding Sage]]
 
* [[Sage_Embedding|Applet Example: Embedding Sage]]
  +
* [[DraggableProofs|Applet Example: Draggable Statements]]
 
* [[DynamicImages2|Arrows in Dynamic Graphs]]
 
* [[DynamicImages2|Arrows in Dynamic Graphs]]
 
  +
* [[AskSage | AskSage subroutine for using Sage ]]
 
[[#top|top of page]]
 
[[#top|top of page]]
   
Line 42: Line 43:
 
* [[CommentsForInstructors|Comments (for Instructors) Visible in the Problem Library]]
 
* [[CommentsForInstructors|Comments (for Instructors) Visible in the Problem Library]]
 
* [[ComposingFunctions|Composition of Functions as Correct Answer]]
 
* [[ComposingFunctions|Composition of Functions as Correct Answer]]
* [[CompoundProblems|Compound (Multi-part, sequential) Problems]]
+
* [[CompoundProblems|Compound (Multi-part, sequential) Problems]] (<em>see also</em> [[Scaffold]])
 
* [[ConstantsInProblems|Constants in Problems]]
 
* [[ConstantsInProblems|Constants in Problems]]
 
* [[FormulasToConstants|Constant Differences (Additive) Between Student and Correct Answers]]
 
* [[FormulasToConstants|Constant Differences (Additive) Between Student and Correct Answers]]
Line 48: Line 49:
 
* [[CustomAnswerCheckers|Custom Answer Checkers]]
 
* [[CustomAnswerCheckers|Custom Answer Checkers]]
 
* [[ErrorMessageCustomization|Custom Error Messages]]
 
* [[ErrorMessageCustomization|Custom Error Messages]]
  +
* [[DraggableProofs|Draggable Statements]]
 
* [[DifferenceQuotients|Difference Quotients as Correct Answers]]
 
* [[DifferenceQuotients|Difference Quotients as Correct Answers]]
 
* [[DifferentiatingFormulas|Differentiating Formulas]]
 
* [[DifferentiatingFormulas|Differentiating Formulas]]
  +
* [[DigitsTolType|Digits TolType]]
 
* [[DisableFunctions|Disabling Functions and Operators in Student Answers]]
 
* [[DisableFunctions|Disabling Functions and Operators in Student Answers]]
 
* [[FormulaTestPoints|Domain of Function Evaluation]]
 
* [[FormulaTestPoints|Domain of Function Evaluation]]
Line 66: Line 69:
 
* [[FlashApplets|Flash Applets]]
 
* [[FlashApplets|Flash Applets]]
 
* [[FlashPointAndGraph|Flash Applet Point and Graph Example]]
 
* [[FlashPointAndGraph|Flash Applet Point and Graph Example]]
* [[FormattingCorrectAnswers: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]]
 
 
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]]
 
* [[FormattingCorrectAnswers: Equations |Formatting Correct Answers: Equations]]
  +
* [[FormattingCorrectAnswers: NumbersAndFormulas |Formatting Correct Answers: Numbers and Formulas]]
 
* [[FormattingDecimals|Formatting: Decimals]]
 
* [[FormattingDecimals|Formatting: Decimals]]
  +
* [[AlgebraicFractions|Formatting Fractions as Student Answers]]
 
* [[FormulaTestPoints|Formula Answer Evaluation; Limits for Evaluation]]
 
* [[FormulaTestPoints|Formula Answer Evaluation; Limits for Evaluation]]
 
* [[FormulaTestPoints|Formula Answer Evaluation; Test Points]]
 
* [[FormulaTestPoints|Formula Answer Evaluation; Test Points]]
 
* [[ProblemsWithUnits|Formulas with Units, as Answers]]
 
* [[ProblemsWithUnits|Formulas with Units, as Answers]]
 
* [[VariablesOtherThanX|Formulas with Variables Other than x]]
 
* [[VariablesOtherThanX|Formulas with Variables Other than x]]
  +
* [[AlgebraicFractions|Fractions (Algebraic) as Student Answers]]
 
* [[AddingFunctions|Functions Added to the Context]]
 
* [[AddingFunctions|Functions Added to the Context]]
 
* [[FormulasToConstants|Function Answers Up To Additive Constants]]
 
* [[FormulasToConstants|Function Answers Up To Additive Constants]]
Line 87: Line 92:
 
* [[GraphsInTables|Graphic Images, Put Into Tables]]
 
* [[GraphsInTables|Graphic Images, Put Into Tables]]
 
* [[StaticImages|Graphic Images, Static]]
 
* [[StaticImages|Graphic Images, Static]]
  +
* [[TikZImages| Graphic Image, TikZ Images]]
 
* [[ContourPlots|Graphing in 2D with Contour Plots]]
 
* [[ContourPlots|Graphing in 2D with Contour Plots]]
 
* [[ContourPlot1|Graphing in 2D with Contour Plots that Have a Color Gradient]]
 
* [[ContourPlot1|Graphing in 2D with Contour Plots that Have a Color Gradient]]
Line 96: Line 102:
 
* [[3DGraphsParametricSurfaces|Graphing in 3D with Parametric Surfaces (e.g., Spherical Coordinates)]]
 
* [[3DGraphsParametricSurfaces|Graphing in 3D with Parametric Surfaces (e.g., Spherical Coordinates)]]
 
* [[3DGraphsVectorFields|Graphing in 3D with Vector Fields]]
 
* [[3DGraphsVectorFields|Graphing in 3D with Vector Fields]]
  +
* [[GraphTool|Graph Tool, a way for students to input graphs as answers]]
  +
* [[AnswerHints|Hints in Problems]]
 
* [[HtmlLinks|HTML Links in Problems]]
 
* [[HtmlLinks|HTML Links in Problems]]
   
Line 110: Line 118:
 
=== Topics K-L ===
 
=== Topics K-L ===
   
  +
* [[Knowls|Knowls]]
 
* [[DynamicImages2|Labels on Dynamically Generated Graphs]]
 
* [[DynamicImages2|Labels on Dynamically Generated Graphs]]
 
* [[FormulaTestPoints|Limits over which Formulas are Evaluated]]
 
* [[FormulaTestPoints|Limits over which Formulas are Evaluated]]
Line 126: Line 135:
 
* [[MatchingStaticGraphs|Matching Problems That Have Static Graphic Images]]
 
* [[MatchingStaticGraphs|Matching Problems That Have Static Graphic Images]]
 
* [[MatchingDynamicGraphs|Matching Problems That Have Dynamic Graphic Images]]
 
* [[MatchingDynamicGraphs|Matching Problems That Have Dynamic Graphic Images]]
  +
* [[MonthDayYear|Month, Day or Year as a problem variable]]
 
* [[MultipleChoiceProblems|Multiple Choice Problems]]
 
* [[MultipleChoiceProblems|Multiple Choice Problems]]
 
* [[GraphsInTables|Multiple Choice Problems with Graphic Images (see example 1)]]
 
* [[GraphsInTables|Multiple Choice Problems with Graphic Images (see example 1)]]
Line 131: Line 141:
 
* [[MultiAnswerProblems|MultiAnswer, Self Referential Problems]]
 
* [[MultiAnswerProblems|MultiAnswer, Self Referential Problems]]
 
* [[CompoundProblems|Multi-Part, Sequential Problems]]
 
* [[CompoundProblems|Multi-Part, Sequential Problems]]
  +
* [[NamedAnswerRules|Named Answer Rules]]
 
* [[ConstantsInProblems|Named (Numerical) Constants in Problems]]
 
* [[ConstantsInProblems|Named (Numerical) Constants in Problems]]
 
* [[ProblemsWithUnits|Numbers with Units, as Answers]]
 
* [[ProblemsWithUnits|Numbers with Units, as Answers]]
Line 157: Line 168:
 
=== Topics Q-R ===
 
=== Topics Q-R ===
   
  +
* [[MultipleChoiceProblems|Radio Buttons and Multiple Choice Problems]]
 
* [[RecursivelyDefinedFunctions|Recursively Defined Functions]]
 
* [[RecursivelyDefinedFunctions|Recursively Defined Functions]]
 
* [[DisableFunctions|Restricting Allowed Functions in Student Answers]]
 
* [[DisableFunctions|Restricting Allowed Functions in Student Answers]]
Line 165: Line 177:
   
 
=== Topics S-T ===
 
=== Topics S-T ===
 
  +
* [[Scaffold | Scaffolded (compound) problems with MultiAnswer sections]]
 
* [[VectorFields|Slope Field Graphs]]
 
* [[VectorFields|Slope Field Graphs]]
 
* [[PopUpLists|Solutions for Students]]
 
* [[PopUpLists|Solutions for Students]]

Revision as of 16:18, 6 May 2021

Any additions to the indexed snippets below should use the same format. A suggested model is provided in this snippet template.

Index of Problem Coding Techniques

This index links to problem code snippets that quickly show how to accomplish each effect. Each has limited explanation that assumes a basic understanding of how PG files are written. If you want more details, please see the MathObjects documentation, POD documentation, PG macro files, and PG library files.

up to Author's Guide

Topics A-B

top of page

Topics C-D

top of page

Topics E-F

top of page

Topics G-H

top of page

Topics I-J

top of page

Topics K-L

top of page

Topics M-N

top of page

Topics O-P

top of page

Topics Q-R

top of page

Topics S-T

top of page

Topics U-Z

top of page