[npl] / trunk / NationalProblemLibrary / Dartmouth / setMTWCh5S3 / ur_vc_8_9.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/Dartmouth/setMTWCh5S3/ur_vc_8_9.pg

Wed Mar 22 22:31:23 2006 UTC (7 years, 2 months ago) by jj
File size: 875 byte(s)
Import of new files.


    1 ##DESCRIPTION
2 #
3 # File Created: 6/2/2000
5 # Problem Author: Joseph Neisendorfer
6 # WeBWorK Entry: Victoria Sweetser
7 # Location: University of Rochester
8 #
9 ##ENDDESCRIPTION
10
11 ##KEYWORDS('Iterated Integral')
12
13
14 DOCUMENT();   # This should be the first executable line in the problem.
15
17            "PGbasicmacros.pl",
18            "PGchoicemacros.pl",
20            "PGauxiliaryFunctions.pl"
21           );
22
23 TEXT(&beginproblem);
24 $showPartialCorrectAnswers = 1; 25 26$a = random(1, 8, 1);
27 $b = random(1, 8, 1); 28$a3 = 3*$a; 29$b2 = 2*$b; 30 BEGIN_TEXT 31 Evaluate the iterated integral 32 $$I = \int_{0}^{1}\!\!\int_{1-x}^{1+x} (a3\!x^{2} + b2\!y )\: dy dx$$ 33$PAR
34 \{ ans_rule(40) \}
35 END_TEXT
36
37 ANS( num_cmp( $a*(3/2) + 2*$b ) );
38
39 ENDDOCUMENT();    # This should be the last executable line in the problem.