1414\section {Basic Usage }
1515
1616This file demonstrates the following validators: factorCheck
17+ This is implemented using the \verb |validator=factorCheck | as an optional parameter in the \verb |\answer | command.
1718
1819\section {Intended Outcome of Test }
1920 \subsection* {factorCheck }
@@ -26,24 +27,24 @@ \section{Intended Outcome of Test}
2627\section {Start of Test/Demo Area }
2728
2829 \subsection* {factorCheck }
29- \begin {problem }
30- Consider the polynomial $ x^3 - 4 x^2 - 4 x + 16 $ . You might want the student to just do the factor by grouping step
31- and want them to enter in $ (x^2 -4 )(x-4 )$ .
32- Try trying in the full polynomial versus a fully factored version,
33- versus the desired version: $ \answer [validator=factorCheck]{(x^2-4)(x-4)}$
34- \end {problem }
35-
36- \begin {problem }
37- Now, let's say you want them to fully factor, not just factor by grouping.
38- Try the factor by grouping version versus unfactored vs fully factored here: $ \answer [validator=factorCheck]{(x-2)(x+2)(x-4)}$
39- \end {problem }
40-
41- \begin {problem }
42- Adding another problem here that deliberately has some repeated factors to show they work.
43- The answer should be $ (x-1 )^3 (x+1 )(x^2 -1 )$ .
44-
45- $ \answer [validator=factorCheck]{(x-1)^3(x+1)(x^2-1)}$
46- \end {problem }
30+ \begin {problem }
31+ Consider the polynomial $ x^3 - 4 x^2 - 4 x + 16 $ . You might want the student to just do the factor by grouping step
32+ and want them to enter in $ (x^2 -4 )(x-4 )$ .
33+ Try trying in the full polynomial versus a fully factored version,
34+ versus the desired version: $ \answer [validator=factorCheck]{(x^2-4)(x-4)}$
35+ \end {problem }
36+
37+ \begin {problem }
38+ Now, let's say you want them to fully factor, not just factor by grouping.
39+ Try the factor by grouping version versus unfactored vs fully factored here: $ \answer [validator=factorCheck]{(x-2)(x+2)(x-4)}$
40+ \end {problem }
41+
42+ \begin {problem }
43+ Adding another problem here that deliberately has some repeated factors to show they work.
44+ The answer should be $ (x-1 )^3 (x+1 )(x^2 -1 )$ .
45+
46+ $ \answer [validator=factorCheck]{(x-1)^3(x+1)(x^2-1)}$
47+ \end {problem }
4748
4849
4950\hrulefill
0 commit comments