[npl] / trunk / NationalProblemLibrary / ASU-topics / setFunctions / srw2_2_7.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/ASU-topics/setFunctions/srw2_2_7.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 319 - (view) (download)

1 : jj 61 ## DESCRIPTION
2 : jjholt 319 ## Algebra
3 : jj 61 ## ENDDESCRIPTION
4 :    
5 : jjholt 319 ## KEYWORDS('algebra','function','domain','range','graph')
6 :     ## Tagged by cmd6a 8/6/06
7 : jj 61
8 : jjholt 319 ## DBsubject('Algebra')
9 :     ## DBchapter('Functions')
10 :     ## DBsection('Domain and Range')
11 : jj 61 ## Date('')
12 :     ## Author('')
13 :     ## Institution('ASU')
14 :     ## TitleText1('')
15 :     ## EditionText1('')
16 :     ## AuthorText1('')
17 :     ## Section1('')
18 :     ## Problem1('')
19 :    
20 :     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 : gage 268 TEXT(beginproblem());
33 : jj 61 $showPartialCorrectAnswers = 0;
34 :    
35 :    
36 :     TEXT(EV2(<<EOT));
37 :     $BBOLD Click on the graph to view the enlarged graph $EBOLD
38 :     $BR
39 :     Consider the function given in the following graph.
40 :     $PAR \{ image("c2s2p7.gif") \} $PAR
41 :     $BR
42 :     What is its domain? \{ans_rule(25)\}
43 :     $BR
44 :     What is its range? \{ans_rule(25)\}
45 :     $BR
46 :     $BBOLD
47 :     Note: $EBOLD
48 :     Write the answer in interval notation.
49 :     EOT
50 :    
51 :     $ans1=-3;
52 :     $ans2=3;
53 :     $ans3=-1;
54 :     $ans4=2;
55 :    
56 : gage 268 ANS(interval_cmp("[$ans1,$ans2]"));
57 :     ANS(interval_cmp("[$ans3,$ans4]"));
58 : jj 61
59 :     ENDDOCUMENT(); # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9