## DESCRIPTION ## The Dot Product ## ENDDESCRIPTION ## KEYWORDS('Dot Product') ## Tagged by nhamblet ## DBsubject('Calculus') ## DBchapter('Vectors and the Geometry of Space') ## DBsection('The Dot Product') ## Date('8/3/2000') ## Author('Joseph Neisendorfer') ## Institution('Rochester') ## TitleText1('') ## EditionText1('') ## AuthorText1('') ## Section1('') ## Problem1('') DOCUMENT(); # This should be the first executable line in the problem. loadMacros("PG.pl", "PGbasicmacros.pl", "PGchoicemacros.pl", "PGanswermacros.pl", "PGauxiliaryFunctions.pl" ); TEXT(beginproblem()); #Do not show partial correct answers $showPartialCorrectAnswers = 1; $mc = new_multiple_choice(); $mc->qa( "If Yoda says to Luke Skywalker, ${LQ}The Force be with you,$RQ then the dot product of the Force and Luke should be:", "positive", ); $mc->extra("zero", "negative", "any real number"); BEGIN_TEXT $PAR \{$mc->print_q\}$BR \{$mc->print_a\} END_TEXT ANS(str_cmp($mc->correct_ans) ); ENDDOCUMENT(); # This should be the last executable line in the problem.