ContextLimitedPolynomial: Difference between revisions
Jump to navigation
Jump to search
m (→See Also) |
mNo edit summary |
||
Line 14: | Line 14: | ||
== Purpose of this Macro == | == Purpose of this Macro == | ||
In this context, WeBWorK will require all student answers to be (expanded) polynomials (i.e., sums of multiples of powers of x). This context allows also requiring that there be only one term with each power of x. | |||
== Initialization == | == Initialization == |
Revision as of 19:44, 30 March 2010
checkPolynomial Category: MathObject | |
---|---|
Status | Standard |
Description | Allow only entry of polynomials |
File Name | checkPolynomial.pl |
File Path | contextLimitedPolynomial.pl |
Download | |
Code Docs | http://webwork.maa.org/doc/cvs/pg_HEAD/macros/contextLimitedPolynomial.pl.html |
NPL Example | |
Comments: |
Purpose of this Macro
In this context, WeBWorK will require all student answers to be (expanded) polynomials (i.e., sums of multiples of powers of x). This context allows also requiring that there be only one term with each power of x.
Initialization
Enable the context in loadMacros
:
loadMacros( "MathObjects.pl", "contextLimitedPolynomial.pl", others, );
Select the context using:
Context("LimitedPolynomial");