Parent Directory
|
Revision Log
Added Stew6e tags.
1 ## DESCRIPTION 2 ## Calculus: Optimization Problems 3 ## ENDDESCRIPTION 4 5 ## KEYWORDS('Optimization Problems') 6 ## Tagged by YL 7 8 ## DBsubject('Calculus') 9 ## DBchapter('Applications of Differentiation') 10 ## DBsection('Optimization Problems') 11 ## Date('5/29/2005') 12 ## Author('Jeff Holt') 13 ## Institution('UVA') 14 ## TitleText1('Calculus: Early Transcendentals') 15 ## EditionText1('5') 16 ## AuthorText1('Stewart') 17 ## Section1('4.7') 18 ## Problem1('29') 19 20 ## TitleText2('Calculus: Early Transcendentals') 21 ## EditionText2('6') 22 ## AuthorText2('Stewart') 23 ## Section2('4.7') 24 ## Problem2('') 25 26 27 DOCUMENT(); # This should be the first executable line in the problem. 28 29 loadMacros( 30 "PG.pl", 31 "PGbasicmacros.pl", 32 "PGchoicemacros.pl", 33 "PGanswermacros.pl", 34 "PGauxiliaryFunctions.pl" 35 ); 36 37 TEXT(beginproblem()); 38 $showPartialCorrectAnswers = 0; 39 40 $a = random(2,8,2); 41 $b = random(2,8,2); 42 $c = random(380,390,2); 43 44 TEXT(EV2(<<EOT)); 45 The top and bottom margins of a poster are $a cm and the side margins are 46 each $b cm. If the area of printed material on the poster is fixed at $c square 47 centimeters, find the dimensions of the poster with the smallest area. 48 $PAR 49 Width = \{&ans_rule(15)\} Height = \{&ans_rule(15)\} 50 EOT 51 52 $x = ((($b*$c)/$a)**(1/2)) + 2*$b; 53 $y = ($c/((($b*$c)/$a)**(1/2))) + 2*$a; 54 55 ANS(num_cmp([$x,$y], format=>"%0.5f", relTol=>1)); 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 |