[npl] / trunk / NationalProblemLibrary / UCSB / Stewart5_4_1_3 Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/UCSB/Stewart5_4_1_3

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1647 - (download) (annotate)
Tue Feb 1 04:12:46 2011 UTC (2 years, 4 months ago) by apizer
File size: 2340 byte(s)
Adding UCSB Stewart problems

    1 ## DBsubject('Calculus')
    2 ## DBchapter('Applications of Differentiation')
    3 ## DBsection('Maximum and Minimum Values')
    4 ## KEYWORDS('Differentiation','Product','Quotient')
    5 ## TitleText1('Calculus')
    6 ## EditionText1('5e')
    7 ## AuthorText1('Stewart')
    8 ## Section1('4.1')
    9 ## Problem1('3')
   10 ## Author('')
   11 ## Institution('UCSB')
   12 
   13 DOCUMENT();
   14 
   15 loadMacros(
   16 "PG.pl",
   17 "PGbasicmacros.pl",
   18 "PGchoicemacros.pl",
   19 "PGanswermacros.pl",
   20 "PGauxiliaryFunctions.pl"
   21 );
   22 
   23 TEXT(&beginproblem);
   24 $showPartialCorrectAnswers = 1;
   25 $cmc1 = new_checkbox_multiple_choice();
   26 $cmc2 = new_checkbox_multiple_choice();
   27 $cmc3 = new_checkbox_multiple_choice();
   28 $cmc4 = new_checkbox_multiple_choice();
   29 
   30 
   31 $cmc1->qa(
   32                 "Check the boxes of the points where the graph has an absolute maximum",
   33                 "b",
   34     );
   35 
   36 $cmc1->makeLast(
   37         "a",
   38         "b",
   39         "c",
   40         "d",
   41         "e",
   42         "r",
   43         "s",
   44         "t",
   45     );
   46 
   47 $cmc2->qa(
   48                 "Check the boxes of the points where the graph has an absolute minimum",
   49                 "d",
   50     );
   51 
   52 $cmc2->makeLast(
   53         "a",
   54         "b",
   55         "c",
   56         "d",
   57         "e",
   58         "r",
   59         "s",
   60         "t",
   61     );
   62 
   63 $cmc3->qa(
   64                 "Check the boxes of the points where the graph has a local maximum",
   65                 "b",
   66                 "e"
   67     );
   68 
   69 $cmc3->makeLast(
   70         "a",
   71         "b",
   72         "c",
   73         "d",
   74         "e",
   75         "r",
   76         "s",
   77         "t",
   78     );
   79 
   80 $cmc4->qa(
   81                 "Check the boxes of the points where the graph has a local minimum",
   82                 "d",
   83                 "s"
   84     );
   85 
   86 $cmc4->makeLast(
   87         "a",
   88         "b",
   89         "c",
   90         "d",
   91         "e",
   92         "r",
   93         "s",
   94         "t",
   95     );
   96 
   97 # Insert problem text between the $PAR, and space for the
   98 # answer, like this   \(y =\) \{ans_rule(50)\}
   99 # just before the END_TEXT.
  100 
  101 BEGIN_TEXT
  102 
  103 $PAR
  104 
  105 \{ image( "X03.gif", height => 250, width => 650, tex_size=>300 ) \} $PAR
  106 
  107 \{$cmc1 -> print_q \}
  108 $BR
  109 \{$cmc1 -> print_a\}
  110 
  111 $PAR
  112 
  113 \{$cmc2 -> print_q \}
  114 $BR
  115 \{$cmc2 -> print_a\}
  116 
  117 $PAR
  118 
  119 \{$cmc3 -> print_q \}
  120 $BR
  121 \{$cmc3 -> print_a\}
  122 
  123 $PAR
  124 
  125 \{$cmc4 -> print_q \}
  126 $BR
  127 \{$cmc4 -> print_a\}
  128 
  129 END_TEXT
  130 
  131 ANS(checkbox_cmp($cmc1->correct_ans));
  132 ANS(checkbox_cmp($cmc2->correct_ans));
  133 ANS(checkbox_cmp($cmc3->correct_ans));
  134 ANS(checkbox_cmp($cmc4->correct_ans));
  135 
  136 ENDDOCUMENT();

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9