[npl] / trunk / NationalProblemLibrary / Rochester / setAlgebra08LinearEqns / sw1_6_29.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/Rochester/setAlgebra08LinearEqns/sw1_6_29.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 202 - (download) (annotate)
Mon May 8 17:05:32 2006 UTC (7 years ago) by jjholt
File size: 918 byte(s)
Added tags.

    1 ##DESCRIPTION
    2 ##   Algebra: linear equations
    3 ##ENDDESCRIPTION
    4 
    5 ##KEYWORDS('algebra', 'linear equations')
    6 ##Tagged by up2p
    7 
    8 ##DBsubject('Algebra')
    9 ##DBchapter('Equations')
   10 ##DBsection('Linear')
   11 ##Date('')
   12 ##Author('')
   13 ##Institution('Rochester')
   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 );
   29 
   30 TEXT(beginproblem());
   31 $showPartialCorrectAnswers = 1;
   32 
   33 $a = random(3,9,1);
   34 $b = random(1,5,2);
   35 $c = random(2,8,2);
   36 
   37 TEXT(EV2(<<EOT));
   38 Solve the equation \( \displaystyle \frac{$a}{x+1}-\frac{$b}{2} = \frac{$c}{3x+3}\).
   39 $BR $BR \( x = \) \{ans_rule(20) \}
   40 $BR
   41 EOT
   42 
   43 $ans = (6*$a-2*$c)/(3*$b) - 1;
   44 ANS(num_cmp($ans));
   45 
   46 ENDDOCUMENT();        # This should be the last executable line in the problem.
   47 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9