## DESCRIPTION ## Distance from a Point to a Plane ## ENDDESCRIPTION ## KEYWORDS('Distance', 'Point', 'Plane') ## Tagged by nhamblet ## DBsubject('Calculus') ## DBchapter('Vectors and the Geometry of Space') ## DBsection('Three-Dimensional Coordinate Systems') ## Date('5/30/2000') ## Author('Joseph Neisendorfer') ## Institution('Rochester') ## TitleText1('') ## EditionText1('') ## AuthorText1('') ## Section1('') ## Problem1('') DOCUMENT(); loadMacros( "PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); $showPartialCorrectAnswers = 0; $a = random(0, 10); $b = random(1, 10); $c = random(-10, 10); $ans = $b; BEGIN_TEXT; $PAR What is the distance from the point ($a, $b, $c) to the xz-plane? $BR Distance = \{ ans_rule() \} $BR END_TEXT ANS(num_cmp($ans)); ENDDOCUMENT();