Search results

Jump to navigation Jump to search
  • Context("Numeric"); Context()->texStrings;
    2 KB (189 words) - 13:12, 16 June 2021
  • Context("Numeric"); Context()->texStrings;
    2 KB (186 words) - 13:13, 16 June 2021
  • This PG code shows how to add a named function to the context and use it to asses whether students know their graph transformations. ...<code>parserFunction.pl</code> so that we can add a named function to the context.
    4 KB (558 words) - 06:05, 18 July 2023
  • ...o which automatically loads <code>MathObjects.pl</code>. The LimitedPoint context does not allow operations between points. Context("LimitedPoint");
    4 KB (528 words) - 12:14, 16 July 2023
  • Context()-&gt;variables-&gt;add(t=&gt;"Real"); ...e(s), we can use <code>are</code> instead of <code>add</code> (e.g., <code>Context()-&gt;variables-&gt;are(t=&gt;"Real",z=&gt;"Real");</code>).
    2 KB (360 words) - 09:52, 28 June 2023
  • Context('Inequalities-Only')->variables->are(x=>'Real'); Context()->flags->set(formatStudentAnswer=>'parsed');
    4 KB (559 words) - 07:54, 18 July 2023
  • Context("Numeric"); Context()->functions->remove("tan");
    4 KB (554 words) - 06:00, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real");
    5 KB (638 words) - 05:49, 18 July 2023
  • Context("Numeric"); Context()->constants->add(k=>0.01);
    3 KB (489 words) - 09:14, 28 June 2023
  • ...quires using MathObjects or a macro file that loads MathObjects, so that a Context is defined. ..., we must be using MathObjects or a macro that loads MathObjects and has a Context.
    4 KB (623 words) - 09:18, 28 June 2023
  • Context("Vector"); Context()->texStrings;
    4 KB (496 words) - 05:44, 18 July 2023
  • ...tric functions are allowed in the answer, are controlled through the <code>Context()</code> rather than through the [[Answer Checkers (MathObjects)| MathObjec Context()->functions->disable('sin','cos','tan');
    4 KB (646 words) - 15:55, 23 February 2019
  • ...ode>. Infinity can be created in any Context, though <code>Numeric</code> context is commonly used. Context("Numeric");
    2 KB (225 words) - 05:32, 6 August 2012
  • Context("Numeric")->variables->add(y=>"Real"); The <code>Numeric</code> context automatically defines
    3 KB (441 words) - 09:20, 28 June 2023
  • ...ion.pl</code> is loaded since we used the <code>Fraction-NoDecimals</text> context. Context('Fraction-NoDecimals');
    4 KB (607 words) - 05:59, 18 July 2023
  • Context("Numeric"); ...the context, see [http://webwork.maa.org/wiki/StringsInContext strings in context].
    4 KB (610 words) - 06:06, 18 July 2023
  • Context("Numeric"); ...maa.org/pod/pg/macros/parserRadioButtons.html parserRadioButtons.pl]. The context is not really necessary, but multiple choice questions are often follow-up
    4 KB (564 words) - 07:17, 17 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (325 words) - 11:42, 24 June 2013
  • Context("Numeric"); Context()->texStrings;
    2 KB (260 words) - 13:13, 16 June 2021
  • ...tions</code> object of the current Context. See [[Answer Checkers and the Context]] for details about how to enable and disable these functions. This can be ...com/openwebwork/pg/blob/master/lib/Parser/Context/Default.pm pg/lib/Parser/Context/Default.pm]</code> for the definitions of all the functions, and
    3 KB (450 words) - 07:59, 13 August 2012
  • Context("ImplicitPlane"); Context("ImplicitPlane");
    4 KB (526 words) - 12:12, 16 July 2023
  • Context("ImplicitPlane"); Context()->variables->remove("z");
    2 KB (333 words) - 09:45, 28 June 2023
  • Context("Numeric")->variables->are(a=>"Real",b=>"Real"); Context()->texStrings;
    3 KB (445 words) - 16:50, 20 June 2023
  • Context("Vector2D"); #Context("Vector"); # for 3d vectors
    5 KB (652 words) - 07:52, 18 July 2023
  • Context("....."); Define context and variables for the questions
    3 KB (376 words) - 23:41, 14 April 2021
  • Context("Numeric"); Context()->texStrings;
    2 KB (259 words) - 17:38, 16 June 2021
  • This PG code shows how to use the context TrigDegrees to redefine trigonometric functions so they evaluate in degrees Context("TrigDegrees");
    5 KB (630 words) - 15:20, 16 July 2023
  • | style="padding:5px" | Similar to <code>Numeric</code> context, but <code>(a,b)</code>, <code>(a,b]</code>, <code>[a,b)</code>, and <code> | style="padding:5px" | Similar to <code>Point</code> context, but allows coordinates to be complex numbers (i.e., <code>i</code> is defi
    3 KB (480 words) - 08:57, 7 May 2015
  • Context("Numeric"); Context()->functions->remove("cos");
    9 KB (1,306 words) - 16:36, 21 July 2021
  • This PG code shows how to add a named function to the context and use it to ask students to come up with a recursive formula. ...rserFunction.pl</code>. There is a more basic way to add functions to the context, which is explained in example 2 at
    5 KB (682 words) - 07:44, 18 July 2023
  • Context("Matrix"); Use <code>Context("Matrix");</code>.
    4 KB (606 words) - 06:23, 18 July 2023
  • my $context = Context()->copy; $context->flags->set(no_parameters=>0);
    7 KB (1,066 words) - 16:41, 20 June 2023
  • Context("Numeric")->variables->add(y=>"Real",z=>"Real"); Context()->texStrings;
    4 KB (549 words) - 05:48, 18 July 2023
  • Context("Numeric"); Context("LimitedPolynomial-Strict");
    4 KB (589 words) - 05:47, 18 July 2023
  • Context("Numeric")->variables->add(y=>"Real"); We have to tell the context that we are allowing the assignment of a variable to a formula.
    4 KB (588 words) - 06:11, 18 July 2023
  • Context("Numeric"); ...[http://webwork.maa.org/pod/pg/macros/parserPopUp.html parserPopUp.pl] The context is not really necessary, but multiple choice questions are often follow-up
    4 KB (599 words) - 07:18, 17 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (356 words) - 16:19, 14 May 2010
  • Context("Numeric"); Context()->texStrings;
    4 KB (535 words) - 06:05, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    4 KB (619 words) - 07:41, 17 July 2023
  • ...s for display. By default, it uses a special context called the [[Typeset Context]] that includes many more functions and operators than most other contexts. If you want to use a different context, however, you can select one by putting its name in braces after the closin
    4 KB (716 words) - 11:42, 28 October 2021
  • Context("Numeric")->variables->are(x=&gt;"Real",y=&gt;"Real"); Context()->texStrings;
    4 KB (557 words) - 05:42, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",u=>"Real");
    3 KB (475 words) - 09:11, 28 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",u=>"Real",v=>"Real");
    4 KB (595 words) - 07:49, 18 July 2023
  • <h2>Adding Functions to the Context: PG Code Snippet</h2> ...is code snippet shows the essential PG code to add a named function to the Context in a problem. Note that these are <b>insertions</b>, not a complete PG f
    6 KB (938 words) - 16:42, 20 June 2023
  • Context("Numeric")->variables->add(y=>"Real"); Context()->constants->add(k=>0.01);
    3 KB (394 words) - 18:06, 7 April 2021
  • Context("Numeric"); Context()->variables->are(
    5 KB (746 words) - 06:15, 18 July 2023
  • Context("Numeric"); Context()->variables->are(
    5 KB (700 words) - 06:17, 18 July 2023
  • Context()-&gt;strings-&gt;add(none=&gt;{}); # Context()-&gt;strings-&gt;add(none=&gt;{caseSensitive=&gt;1});
    4 KB (656 words) - 16:49, 20 June 2023
  • Context("Vector")->variables->are(t=>"Real"); Context()->texStrings;
    4 KB (608 words) - 07:52, 18 July 2023
  • ...rserFunction.pl</code>. There is a more basic way to add functions to the context, which is explained in example 2 at Context("Numeric")->variables->are(n=>"Real");
    4 KB (573 words) - 14:48, 16 July 2023
  • Context("Vector2D"); #Context("Vector"); # for 3D vectors
    6 KB (755 words) - 07:51, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    3 KB (407 words) - 17:55, 7 April 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",t=>"Real");
    5 KB (655 words) - 07:48, 18 July 2023
  • Context( "Point" ); We don't use <code>Context("Vector");</code> and <code>norm( $point[0] - $point[1] )</code> here
    4 KB (631 words) - 09:42, 28 June 2023
  • my $value = $self->context->flag("setSqrt"); Context("Numeric")->variables->are(
    4 KB (562 words) - 17:56, 7 April 2021
  • Context("Numeric"); Context()->functions->disable("All");
    4 KB (551 words) - 09:06, 28 June 2023
  • * The <tt>parserImplicitPlane.pl</tt> macro includes the context and the <tt>ImplicitPlane</tt> function to parse and create implicit planes Context('ImplicitPlane');
    4 KB (633 words) - 06:30, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",t=>"Real");
    5 KB (662 words) - 06:33, 18 July 2023
  • Context("Vector")->variables->are(x=>'Real',y=>'Real'); Context()->texStrings;
    3 KB (441 words) - 16:53, 20 June 2023
  • Context('ImplicitEquation'); Context()->{error}{msg}{
    4 KB (587 words) - 05:43, 18 July 2023
  • Context("Numeric")->variables->are(t=>"Real"); Context()->functions->remove("sin");
    5 KB (792 words) - 07:56, 18 July 2023
  • ...ntext. It also shows how to add a named function <code>u(x)</code> to the context that has a reliable answer checker and can stand in for the Heaviside step We load <code>parserFunction.pl</code> to make adding a named function to the context easier.
    9 KB (1,443 words) - 06:27, 18 July 2023
  • ...the array when used in scalar context.) The most common usage is the array context.</blockquote>
    2 KB (311 words) - 18:45, 18 November 2009
  • ...enter, or, alternately, it is possible to specifically indicate within the context what functions or operations are not allowed. In the following, we first c ...me</i>.pl</code>, where <code><i>ContextName</i></code> is the name of the context used in the problem set-up section of the problem.
    10 KB (1,530 words) - 09:23, 28 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",t=>"Real");
    4 KB (524 words) - 11:03, 29 June 2023
  • ...athObjects we can control tolerance by setting a "global" tolerance in the Context, as shown in the example below, or by specifying the tolerance that is used Context("Numeric");
    6 KB (779 words) - 16:40, 20 June 2023
  • Context("Numeric"); Context()->texStrings;
    5 KB (783 words) - 16:54, 20 June 2023
  • Context("Numeric")->variables->are(t=>"Real"); Context("Numeric")->variables->are(t=>"Real");
    5 KB (717 words) - 06:01, 18 July 2023
  • <label for="context">Context</label> <select id="context" name="context">
    945 bytes (111 words) - 15:06, 21 June 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",s=>"Real",t=>"Real");
    4 KB (531 words) - 11:00, 29 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",s=>"Real",t=>"Real");
    5 KB (708 words) - 06:32, 18 July 2023
  • Context('Matrix'); Context()->texStrings;
    6 KB (884 words) - 06:24, 18 July 2023
  • Context('Matrix'); Context()->texStrings;
    4 KB (510 words) - 06:26, 18 July 2023
  • ...to create Points in <math>{\bf C}^n</math>, though there is no pre-defined Context that makes this easy to do. Context("Point");
    4 KB (584 words) - 17:56, 7 April 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",t=>"Real");
    4 KB (528 words) - 10:58, 29 June 2023
  • Context("Numeric"); Context()->texStrings;
    3 KB (314 words) - 21:02, 1 August 2022
  • ...ext and the LimitedPowers context for factoring, and the LimitedPolynomial context for expanding.</li> ...ptive parameters and a MultiAnswer for factoring and the LimitedPolynomial context for expanding.</li>
    11 KB (1,537 words) - 09:43, 28 June 2023
  • Context("ImplicitEquation"); Context()-&gt;variables-&gt;set(
    5 KB (799 words) - 09:30, 28 June 2023
  • Context("Vector"); Context()->operators->undefine(".","><");
    6 KB (820 words) - 06:28, 18 July 2023
  • Context('Numeric'); Context('PolynomialFactors-Strict');
    4 KB (583 words) - 05:48, 18 July 2023
  • Context("Numeric"); Context()->flags->set(tolType => 'digits', tolerance => 3, tolTruncation => 1);
    7 KB (1,099 words) - 09:21, 28 June 2023
  • ...false. Reals can be created in any Context, but the <code>Numeric</code> Context is the most frequently used for Reals. Context("Numeric");
    4 KB (607 words) - 16:29, 4 February 2013
  • Context("Numeric"); Context()->variables->set(x=>{limits=>[2,4]});
    5 KB (744 words) - 09:47, 28 June 2023
  • Context("Interval"); ...erval. The answer is parsed in the current context, which is the Interval context in this example. This means that you are giving the answer exactly as the
    5 KB (721 words) - 08:00, 6 June 2021
  • Context("Numeric"); Context()->texStrings;
    4 KB (527 words) - 07:43, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (312 words) - 13:18, 16 June 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real");
    5 KB (762 words) - 06:29, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (313 words) - 13:06, 16 June 2021
  • Context("Numeric")->variables->are(a=>"Real",b=>"Real"); Context()->texStrings;
    4 KB (549 words) - 05:40, 18 July 2023
  • Context('Vector'); ## Context()->flags->set( ijk=>1 );
    6 KB (996 words) - 14:01, 28 June 2023
  • ...String Context changes]] section for details. Strings can be used in any Context. | style="text-align:center; padding:5px" | defined in Context
    3 KB (442 words) - 17:23, 17 June 2014
  • Context("Numeric"); ...ion::Begin()</code> and <code>Section::End()</code> block can have its own context, etc. See the [https://github.com/openwebwork/pg/blob/master/macros/scaffo
    3 KB (453 words) - 07:42, 17 July 2023
  • # make sure we're in the context we want Context("Numeric");
    7 KB (1,126 words) - 11:40, 15 June 2021
  • Context("Numeric"); Context()->functions->remove("tan");
    4 KB (619 words) - 16:19, 14 May 2010
  • Context()->variables->add(y=>"Real"); Context()->texStrings;
    5 KB (700 words) - 06:21, 18 July 2023
  • Context("Numeric"); Context()->variables->are(t=>"Real");
    5 KB (669 words) - 11:58, 16 July 2023
  • Context("Numeric"); Context()->variables->add(u => "Real");
    12 KB (1,422 words) - 21:02, 1 August 2022
  • Context("Numeric"); Context()->texStrings;
    4 KB (600 words) - 13:19, 16 June 2021
  • Context("Numeric"); Context()->texStrings;
    5 KB (751 words) - 07:20, 17 July 2023
  • Context("Numeric"); Context()->variables->are(
    7 KB (930 words) - 06:16, 18 July 2023

View (previous 100 | next 100) (20 | 50 | 100 | 250 | 500)