[npl] / trunk / NationalProblemLibrary / ASU-topics / setSolveEquations / zhu7.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/ASU-topics/setSolveEquations/zhu7.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101 - (view) (download)

1 : jjholt 101 ##Solve for an equation
2 :     ## Algebra equation
3 : jj 61 ##ENDDESCRIPTION
4 :    
5 : jjholt 101
6 :     ## KEYWORDS('Equations and Inequalities')
7 :     ## Tagged by ynw2d
8 :    
9 :     ## DBsubject('Algebra')
10 :     ## DBchapter('Equations and Inequalities')
11 :     ## DBsection('Algebratic and Graphical Solutions of Equations')
12 :     ## Date('')
13 :     ## Author('')
14 :     ## Institution('ASU')
15 :     ## TitleText1('')
16 :     ## EditionText1('')
17 :     ## AuthorText1('')
18 :     ## Section1('')
19 :     ## Problem1('')
20 :    
21 :    
22 : jj 61 DOCUMENT(); # This should be the first executable line in the problem.
23 :    
24 :     loadMacros(
25 :     "PG.pl",
26 :     "PGbasicmacros.pl",
27 :     "PGchoicemacros.pl",
28 :     "PGanswermacros.pl",
29 :     "PGauxiliaryFunctions.pl"
30 :     );
31 :    
32 :     TEXT(&beginproblem);
33 :     $showPartialCorrectAnswers = 1;
34 :    
35 :     TEXT(EV2(<<EOT));
36 :     Solve the following equation:
37 :     $BR
38 :     \[ x+\sqrt { 2x + 1 }= 7\]
39 :     $PAR
40 :     Answer: \{ans_rule(35) \}
41 :     $BR
42 :     EOT
43 :    
44 :     $ans = 4;
45 :     &ANS(std_num_cmp($ans));
46 :    
47 :     ENDDOCUMENT(); # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9