## DESCRIPTION ## Calculus ## ENDDESCRIPTION ## KEYWORDS('numbers', 'complex') ## Tagged by YL ## DBsubject('Calculus') ## DBchapter('Complex Numbers') ## DBsection('Complex') ## Date('') ## Author('') ## Institution('ASU') ## TitleText1('Calculus') ## EditionText1('5e') ## AuthorText1('Stewart') ## Section1('') ## Problem1('') DOCUMENT(); # This should be the first executable line in the problem. loadMacros( "PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl", "PGasu.pl" ); TEXT(beginproblem()); # # Now we do the randomization of variables, and other computations # as needed for this problem. Sometimes we compute the answers here. # $a = random(1,9); $b = random(-3,2); $ans1 = ($a+$b)/2; # # Now the problem text itself, with ans_rule's to indicate where the # answers go. You can stop entering text, do more computations, and then # start up again if you want. # BEGIN_TEXT What is the average of $a and $b? $PAR Average = \{ans_rule(40)\} END_TEXT # # Tell WeBWork how to test if answers are right. These should come in the # same order as the answer blanks above. You tell WeBWork both the type of # "answer evaluator" to use, and the correct answer. # ANS(num_cmp($ans1)); ENDDOCUMENT(); # This should be the last executable line in the problem.