[npl] / trunk / NationalProblemLibrary / Rochester / setVectors1space3D / UR_VC_1_1.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/Rochester/setVectors1space3D/UR_VC_1_1.pg

Wed Oct 17 17:35:27 2012 UTC (7 months ago) by jj
File size: 983 byte(s)
```Took pairs of problems which were exact duplicates except for their tags,
merged tags, and made one point to the other.
```

```    1 ## DESCRIPTION
2 ##   Distance from a Point to a Plane
3 ## ENDDESCRIPTION
4
5 ## Tagged by nhamblet
6
7 ## DBsubject('Calculus')
8 ## DBchapter('Vectors and the Geometry of Space')
9 ## DBsection('Three-Dimensional Coordinate Systems')
10 ## Date('6/3/2002')
11 ## TitleText1('Calculus: Early Transcendentals')
12 ## AuthorText1('Stewart')
13 ## EditionText1('6')
14 ## Section1('12.1')
15 ## Problem1('66')
16 ## TitleText2('Calculus: Early Transcendentals')
17 ## AuthorText2('Rogawski')
18 ## EditionText2('1')
19 ## Section2('12.5')
20 ## Problem2('66')
21 ## KEYWORDS('Distance', 'Point', 'Plane','vector')
22
23 DOCUMENT();
24
26 "PG.pl",
27 "PGbasicmacros.pl",
28 "PGchoicemacros.pl",
30 "PGauxiliaryFunctions.pl"
31 );
32
33 TEXT(beginproblem());
35
36 \$a = random(0, 10);
37 \$b = random(1, 10);
38 \$c = random(-10, 10);
39 \$ans = \$b;
40
41 BEGIN_TEXT;
42 \$PAR
43 What is the distance from the point (\$a, \$b, \$c) to the xz-plane?
44 \$BR
45 Distance = \{ ans_rule() \}
46 \$BR
47 END_TEXT
48 ANS(num_cmp(\$ans));
49
50 ENDDOCUMENT();
```