[npl] / trunk / NationalProblemLibrary / ma123DB / set1 / s6_2_11.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

View of /trunk/NationalProblemLibrary/ma123DB/set1/s6_2_11.pg

Wed Oct 12 19:45:41 2005 UTC (7 years, 7 months ago) by gage
File size: 835 byte(s)
```This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.```

```    1 ##KEYWORDS('Integral', 'Volume')
2 ##DESCRIPTION
3 ##  Compute volume of a revolution
4 ##ENDDESCRIPTION
5
6 ## AmberHolden tagged
7 ## Shotwell cleaned
8
9 ## DBsubject('Calculus')
10 ## DBchapter('Applications of Integration')
11 ## DBsection('Volumes')
12 ## Date('6/3/2002')
13 ## Author('')
14 ## Institution('')
15 ## TitleText1('Calculus Early Transcendentals')
16 ## EditionText1('4')
17 ## AuthorText1('Stewart')
18 ## Section1('6.2')
19 ## Problem1('11')
20
21 DOCUMENT();
22
24 "PGbasicmacros.pl",
26 "PGauxiliaryFunctions.pl"
27 );
28
30
31 \$aa = random(2,6);
32 \$a2 = \$aa*\$aa;
33
34
35 TEXT(beginproblem());
36
37 BEGIN_TEXT
38 The region between the graphs of \(y=x^2\) and \(y=\$aa x\)
39 is rotated around the line \(y=\$a2\).
40 \$BR\$BR
41 The volume of the resulting solid is: \{ ans_rule()\}
42 END_TEXT
43
44 ANS(num_cmp("(pi*\$aa^5)/5"));
45
46 ENDDOCUMENT();
```