[npl] / trunk / NationalProblemLibrary / ASU-topics / setOptimization / 4-5-32.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/ASU-topics/setOptimization/4-5-32.pg

Sat Jan 14 02:13:08 2006 UTC (7 years, 4 months ago) by jj
File size: 939 byte(s)
New problems for the library.


    1 #DESCRIPTION
2 #KEYWORDS('algebara', 'equations', 'domain')
3 #  Find the domain of a function root(a-bx)
4 #ENDDESCRIPTION
5
6 DOCUMENT();        # This should be the first executable line in the problem.
7
9            "PGbasicmacros.pl",
10            "PGchoicemacros.pl",
12            "PGauxiliaryFunctions.pl");
13
14 $a = random(13,19,1); 15$as = $a**2; 16 17 TEXT(beginproblem()); 18 19$showPartialCorrectAnswers = 1;
20
21 TEXT(EV2(<<EOT));
22 Find the length $$L$$ and width $$W$$ (with $$W \leq L$$) of the
23 rectangle with area $as square inches that has minimum perimeter, and then find 24 the minimum perimeter. 25$BR
26 $$L$$ = \{ans_rule(10)\}
27 $BR 28$BR
29 $$W$$ = \{ans_rule(10)\}
30 $BR 31$BR
32 Minimum perimeter = \{ans_rule(10)\}
33 $BR 34 EOT 35 36 @answers = (num_cmp($a), num_cmp($a), num_cmp(4*$a));
37