[npl] / trunk / NationalProblemLibrary / Rochester / setTrig08Equations / p1.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# Annotation of /trunk/NationalProblemLibrary/Rochester/setTrig08Equations/p1.pg

 1 : jj 141 #DESCRIPTION 2 : #KEYWORDS('Substitution' , 'Trig Substitution' , 'Trigonometric Substitution' ) 3 : #ENDDESCRIPTION 4 : 5 : 6 : DOCUMENT(); # This should be the first executable line in the problem. 7 : 8 : loadMacros( 9 : "PG.pl", 10 : "PGbasicmacros.pl", 11 : "PGchoicemacros.pl", 12 : "PGanswermacros.pl", 13 : "PGauxiliaryFunctions.pl", 14 : "PGasu.pl", 15 : "extraAnswerEvaluators.pl" 16 : ); 17 : 18 : # No partial credit on this problem, so we say: 19 : install_problem_grader(~~&std_problem_grader); 20 : 21 : TEXT(beginproblem()); 22 : $showPartialCorrectAnswers = 0; 23 :$pi = 4*atan2(1,1); 24 : @values =('\frac{1}{4}','\frac{3}{4}','\frac{1}{2}'); 25 : \$tag1 = random(0,2,1); 26 : 27 : 28 : @sin_answers1 = (1/6, 1/3, 1/4); 29 : @sin_answers2 = (5/6, 2/3, 3/4); 30 : @sin_answers3 = (7/6, 4/3, 5/4); 31 : @sin_answers4 = (11/6, 5/3, 7/4); 32 : 33 : 34 : 35 : TEXT(EV2(<