Parent Directory
|
Revision Log
Added subject tag.
1 #DESCRIPTION 2 ## Absolute value inequality 3 ##ENDDESCRIPTION 4 5 ##KEYWORDS('algebra', 'inequality') 6 ## hcao tagged and PAID on 2-20-2004 7 8 ## DBsubject('Algebra') 9 ## DBchapter('Basic Algebra') 10 ## DBsection('Real Numbers') 11 ## Date('6/3/2002') 12 ## Author('') 13 ## Institution('') 14 ## TitleText1('College Algebra') 15 ## EditionText1('3') 16 ## AuthorText1('Stewart, Redlin, Watson') 17 ## Section1('1.2') 18 ## Problem1('39 35') 19 DOCUMENT(); # This should be the first executable line in the problem. 20 21 loadMacros( 22 "PG.pl", 23 "PGbasicmacros.pl", 24 "PGchoicemacros.pl", 25 "PGanswermacros.pl", 26 "PGauxiliaryFunctions.pl" 27 ); 28 29 TEXT(&beginproblem); 30 $showPartialCorrectAnswers = 0; 31 32 $a = random(2,5,1); 33 $b = $a*random(-5,5,1); 34 $c = $a*random(3,10,1); 35 36 TEXT(EV2(<<EOT)); 37 The interval described in set-builder notation by the inequality$BR 38 \(|$a x+$b|<$c\) has interval notation \((a,b)\)$BR 39 for$BR 40 \(a=\) \{ans_rule(20) \} 41 $BR 42 EOT 43 44 $ans = -$b/$a-$c/$a; 45 &ANS(std_num_cmp($ans)); 46 47 TEXT(EV2(<<EOT)); 48 and$BR 49 \(b=\) \{ans_rule(20) \} 50 $BR 51 EOT 52 53 $ans = -$b/$a+$c/$a; 54 &ANS(std_num_cmp($ans)); 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 |