[npl] / trunk / NationalProblemLibrary / maCalcDB / setParametric1Curves / ur_pa_1_1.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/maCalcDB/setParametric1Curves/ur_pa_1_1.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 38 - (download) (annotate)
Wed Nov 30 18:27:39 2005 UTC (7 years, 5 months ago) by jj
File size: 2213 byte(s)
Fixed bug 910 (misspelling); adjusted some spacing; put a variable in math mode in the text.

    1 ##DESCRIPTION
    2 #  Created: 3/01/02
    3 #  Author: Minock
    4 #  Stewart 4th ed., section 10.1
    5 #  Match parametric equations for unit circle with description
    6 ##ENDDESCRIPTION
    7 
    8 ##KEYWORDS('parametric')
    9 ## tcao tagged and PAID on 12-12-2003
   10 
   11 ## DBsubject('Calculus')
   12 ## DBchapter('Parametric Equations and Polar Coordinates')
   13 ## DBsection('Curves Defined by Parametric Equations')
   14 ## Date('6/3/2002')
   15 ## Author('')
   16 ## Institution('')
   17 ## TitleText1('Calculus Early Transcendentals')
   18 ## EditionText1('4')
   19 ## AuthorText1('Stewart')
   20 ## Section1('10.1')
   21 ## Problem1('19 17')
   22 DOCUMENT();
   23 
   24 loadMacros(
   25 "PG.pl",
   26 "PGbasicmacros.pl",
   27 "PGchoicemacros.pl",
   28 "PGanswermacros.pl",
   29 );
   30 
   31 TEXT(&beginproblem);
   32 $showPartialCorrectAnswers = 0;
   33 
   34 
   35 qa(~~@questions, ~~@answers,
   36 
   37 " \( \displaystyle x=\sin(t); \) \( \ y = \cos(t)  \)",   "A",
   38 " \( \displaystyle x=-\sin(t); \) \( \ y = -\cos(t)  \)",   "B",
   39 " \( \displaystyle x=\cos(t); \) \( \ y = -\sin(t)  \)",   "C",
   40 " \( \displaystyle x=-\cos(t); \) \( \ y =- \sin(t)  \)",   "D",
   41 " \( \displaystyle x=\cos(2t); \) \( \ y = \sin(2t)  \)",   "E",
   42 " \( \displaystyle x=\cos{\frac{t}{2}}; \) \( \ y = \sin{\frac{t}{2}}  \)",   "F"
   43     );
   44 
   45 
   46 # Now randomize the questions:
   47 @slice = &NchooseK(6,5);
   48 @shuffle = &shuffle(scalar(@slice));
   49 ($ans1, $ans2, $ans3, $ans4, $ans5)=@answers[@slice] ;
   50 
   51 BEGIN_TEXT
   52 Assume time \(t\) runs from zero to \( 2\pi \) and that the unit circle
   53 has been labeled as a clock.
   54 $BR$BR
   55 Match each of the pairs of parametric equations with the
   56 best description of the curve from the following list.  Enter
   57 the appropriate letter (A, B, C, D, E, F ) in each blank.
   58 $BR
   59 $BR
   60 A. Starts at 12 o'clock and moves clockwise one time around.
   61 $BR
   62 B. Starts at 6 o'clock and moves clockwise one time around.
   63 $BR
   64 C. Starts at 3 o'clock and moves clockwise one time around.
   65 $BR
   66 D. Starts at 9 o'clock and  moves counterclockwise one time around.
   67 $BR
   68 E. Starts at 3 o'clock and  moves counterclockwise two times around.
   69 $BR
   70 F. Starts at 3 o'clock and moves counterclockwise to 9 o'clock.
   71 $BR
   72 END_TEXT
   73 
   74 TEXT(EV2(match_questions_list_varbox(5,@questions[@slice])));
   75 
   76 ANS( std_str_cmp($ans1),
   77 std_str_cmp($ans2),
   78 std_str_cmp($ans3),
   79 std_str_cmp($ans4),
   80 std_str_cmp($ans5));
   81 
   82 
   83 ENDDOCUMENT();
   84 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9