[rochester] / trunk / rochester_problib / setIntegrals5Trig / sc5_5_99.pg Repository:
ViewVC logotype

View of /trunk/rochester_problib/setIntegrals5Trig/sc5_5_99.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (download) (annotate)
Mon Jun 25 19:20:51 2001 UTC (11 years, 10 months ago) by sam
File size: 669 byte(s)
added problem library as webwork/ww_prob_lib with revision tag prob-lib-2

    1 ##DESCRIPTION
    2 ##KEYWORDS('integrals', 'trig')
    3 ##ENDDESCRIPTION
    4 
    5 DOCUMENT();        # This should be the first executable line in the problem.
    6 
    7 loadMacros(
    8 "PG.pl",
    9 "PGbasicmacros.pl",
   10 "PGchoicemacros.pl",
   11 "PGanswermacros.pl",
   12 "PGauxiliaryFunctions.pl"
   13 );
   14 
   15 TEXT(&beginproblem);
   16 $showPartialCorrectAnswers = 1;
   17 
   18 $a = random(2,99,1);
   19 $b = random(2,99,1);
   20 
   21 $funct = "$a/$b*sin($b*x) - $a/(3*$b)*(sin($b*x))**3";
   22 
   23 TEXT(EV2(<<EOT));
   24 
   25 Evaluate the indefinite integral.
   26 $BR \[ \int $a\cos^3 ($b x)\,dx \]
   27 $BR $BR \{ans_rule( 45) \}
   28 $BR
   29 EOT
   30 
   31 $ans = $funct;
   32 &ANS(function_cmp_up_to_constant($ans));
   33 
   34 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9