[npl] / trunk / NationalProblemLibrary / Rochester / setTrig06Inverses / p15.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/Rochester/setTrig06Inverses/p15.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 297 - (view) (download)

1 : jjholt 206 ## DESCRIPTION
2 :     ## Precalculus: Trigonometry
3 :     ## ENDDESCRIPTION
4 : jj 141
5 : jjholt 206 ## KEYWORDS('trigonometry','inverse trigonometric functions')
6 :     ## Tagged by cmd6a 5/11/06
7 :    
8 : jj 297 ## DBsubject('Trigonometry')
9 : jjholt 206 ## DBchapter('Analytic Trigonometry')
10 :     ## DBsection('Inverse Trigonometric Functions')
11 :     ## Date('')
12 :     ## Author('')
13 :     ## Institution('Rochester')
14 :     ## TitleText1('')
15 :     ## EditionText1('')
16 :     ## AuthorText1('')
17 :     ## Section1('')
18 :     ## Problem1('')
19 :    
20 : jj 141 DOCUMENT(); # This should be the first executable line in the problem.
21 :    
22 :     loadMacros(
23 :     "PG.pl",
24 :     "PGbasicmacros.pl",
25 :     "PGchoicemacros.pl",
26 :     "PGanswermacros.pl",
27 :     "PGauxiliaryFunctions.pl",
28 :     "PGasu.pl",
29 :     "extraAnswerEvaluators.pl"
30 :     );
31 :    
32 :     TEXT(beginproblem());
33 :     $showPartialCorrectAnswers = 1;
34 :    
35 :     @values =('\frac{1}{36}','\frac{1}{9}','\frac{1}{16}','\frac{1}{25}');
36 :    
37 :     $tag1 = random(0,3,1);
38 :     $pi = 3.1415927;
39 :     @ans1 = (arccos(1/6), arccos(1/3), arccos(1/4), arccos(1/5));
40 :     @ans2= (arccos(-1/6),arccos(-1/3),arccos(-1/4),arccos(-1/5));
41 :     @ans3=(2*$pi-arccos(-1/6),2*$pi-arccos(-1/3),2*$pi-arccos(-1/4),2*$pi-arccos(-1/5));
42 :     @ans4=(2*$pi-arccos(1/6),2*$pi-arccos(1/3),2*$pi-arccos(1/4),2*$pi-arccos(1/5));
43 :    
44 :     TEXT(EV2(<<EOT));
45 : jjholt 206 Solve the equation in the interval \([0,2 \pi]\).
46 : jj 141 If there is more than one solution write them separated by commas.
47 :    
48 :     $PAR
49 :     \( (\cos(x))^2=$values[$tag1] \)
50 :     $PAR
51 :     \( x= \) \{ans_rule(20) \}
52 :    
53 :     EOT
54 :     ANS(number_list_cmp("$ans1[$tag1],$ans2[$tag1],$ans3[$tag1],$ans4[$tag1]"));
55 :    
56 :    
57 :     ENDDOCUMENT(); # This should be the last executable line in the problem.
58 :    

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9