[rochester] / trunk / rochester_problib / setAlgebra08LinearEqns / sw1_6_74.pg Repository:
ViewVC logotype

View of /trunk/rochester_problib/setAlgebra08LinearEqns/sw1_6_74.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 592 - (download) (annotate)
Fri Jul 4 01:34:46 2003 UTC (9 years, 10 months ago) by voloshin
File size: 667 byte(s)
minor modifications: math mode, breaklines, displaystyle, ranges of coefficients...

    1 #DESCRIPTION
    2 ##  Algebra problem: Solving a equation
    3 ##ENDDESCRIPTION
    4 
    5 ##KEYWORDS('algebra', 'equations with symbols')
    6 
    7 DOCUMENT();        # This should be the first executable line in the problem.
    8 
    9 loadMacros(
   10 "PG.pl",
   11 "PGbasicmacros.pl",
   12 "PGchoicemacros.pl",
   13 "PGanswermacros.pl",
   14 "PGauxiliaryFunctions.pl"
   15 );
   16 
   17 TEXT(beginproblem());
   18 
   19 $showPartialCorrectAnswers = 1;
   20 
   21 
   22 BEGIN_TEXT
   23 Solve the equation \( P = 2l+2w \) for \(w\).
   24 $BR
   25 Your answer is : \{ans_rule(20) \}
   26 $BR
   27 $BBOLD Note: $EBOLD The answer is case sensitive!
   28 END_TEXT
   29 
   30 $ans = "(P-2*l)/2";
   31 
   32 ANS(fun_cmp($ans, var=>['P','l']));
   33 
   34 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9