[npl] / trunk / NationalProblemLibrary / ASU-topics / setGraphEquations / srw1_8_73.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/ASU-topics/setGraphEquations/srw1_8_73.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 314 - (download) (annotate)
Sun Aug 6 16:12:44 2006 UTC (6 years, 9 months ago) by jjholt
File size: 1117 byte(s)
Added tags.  --JH

    1 ## DESCRIPTION
    2 ## Algebra
    3 ## ENDDESCRIPTION
    4 
    5 ## KEYWORDS('algebra','conic section','circle')
    6 ## Tagged by cmd6a 6/21/06
    7 
    8 ## DBsubject('Algebra')
    9 ## DBchapter('Conic Sections')
   10 ## DBsection('Circles')
   11 
   12 ## Date('')
   13 ## Author('')
   14 ## Institution('ASU')
   15 ## TitleText1('')
   16 ## EditionText1('')
   17 ## AuthorText1('')
   18 ## Section1('')
   19 ## Problem1('')
   20 
   21 DOCUMENT();        # This should be the first executable line in the problem.
   22 
   23 loadMacros(
   24 "PG.pl",
   25 "PGbasicmacros.pl",
   26 "PGchoicemacros.pl",
   27 "PGanswermacros.pl",
   28 "PGauxiliaryFunctions.pl",
   29 "PGasu.pl"
   30 );
   31 
   32 TEXT(beginproblem());
   33 
   34 $showPartialCorrectAnswers = 1;
   35 
   36 $a = random(1,20,1);
   37 $b = random(1,20,1);
   38 $c = random(1,6,1);
   39 
   40 BEGIN_TEXT
   41 Find an equation of the circle with center \(($a,-$b)\) and radius \($c\)
   42 in the form of \[(x-A)^2+(y-B)^2=C^2\]
   43 where \(A\), \(B\), and \(C\) are constants. Then
   44 $BR $BR
   45 \(A =\)  \{ans_rule(10)\}
   46 $BR
   47 \(B =\)  \{ans_rule(10)\}
   48 $BR
   49 \(C =\)  \{ans_rule(10)\}
   50 END_TEXT
   51 
   52 ANS(num_cmp($a));
   53 ANS(num_cmp(-$b));
   54 ANS(pc_evaluator([[num_cmp(-$c),1], [num_cmp($c), 1]]));
   55 
   56 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9