[npl] / trunk / NationalProblemLibrary / UCSB / Stewart5_2_3 / Stewart5_2_3_10.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/UCSB/Stewart5_2_3/Stewart5_2_3_10.pg

Sun Feb 6 02:23:13 2011 UTC (2 years, 4 months ago) by apizer
File size: 1017 byte(s)
correct Stewart tags

    1 ## DBsubject('Calculus')
2 ## DBchapter('Limits and Derivatives')
3 ## DBsection('Calculating Limits Using the Limit Laws')
4 ## KEYWORDS('Product','Quotient','Differentiation')
5 ## TitleText1('Calculus: Early Transcendentals')
6 ## EditionText1('5')
7 ## AuthorText1('Stewart')
8 ## Section1('2.3')
9 ## Problem1('10')
10 ## Author('')
11 ## Institution('UCSB')
12
13 DOCUMENT();
14
16 "PG.pl",
17 "PGbasicmacros.pl",
18 "PGchoicemacros.pl",
20 "PGauxiliaryFunctions.pl"
21 );
22
23 TEXT(&beginproblem);
24 $showPartialCorrectAnswers = 1; 25$a=random(1,10,1)*random(-1,1,2);
26 $b=random(1,10,1)*random(-1,1,2); 27$c=random(1,10,1)*random(-1,1,2);
28
29 BEGIN_TEXT
30
31 $PAR 32 33 What is wrong with the following equation?$PAR
34  $\displaystyle \frac{x^2+x-6}{x-2}=x+3$ $BR 35 36 Choose one of the following and enter the letter below:$BR
37 (a) There is nothing wrong with this equation. $BR 38 (b) This equation does not make sense at $$x=2$$.$BR
39 (c) None of the above.
40
41 \$PAR
42
43 \{ans_rule(10)\}
44
45 END_TEXT
46
47 ANS(fun_cmp("b", var=>["a","b","c"]));
48
49 ENDDOCUMENT();