Parent Directory
|
Revision Log
Fixed bug 2341 -- special case had to be avoided.
1 ###DESCRIPTION 2 ## Factoring Special polynomials 3 ## 4 ##ENDDESCRIPTION 5 ## DBsubject('Intermediate Algebra') 6 ## DBchapter('Ch 05: Polynomials, Polynomial Functions, and Factoring') 7 ## DBsection('Factoring Special Forms') 8 ## KEYWORDS('factoring') 9 ## TitleText1('Essentials of Intermediate Algebra') 10 ## EditionText1('1') 11 ## AuthorText1('Blitzer') 12 ## Section1('5.5') 13 ## Problem1('') 14 ## Author('RA Cruz') 15 ## Institution('The College of Idaho') 16 ## Date: 2007/11 17 18 DOCUMENT(); # This should be the first executable line in the problem. 19 20 loadMacros( 21 "PGstandard.pl", 22 "MathObjects.pl", 23 "CofIdaho_macros.pl" 24 ); 25 26 TEXT(beginproblem()); 27 28 ###################################### 29 # Setup 30 31 $a= list_random(3,5,6,7); 32 33 $polynomial = Formula("x^4 - (2*$a)x^2 + $a^2")->reduce->TeX; 34 35 ###################################### 36 # Main text 37 38 BEGIN_TEXT 39 Factor completely: 40 $PAR 41 \( $polynomial = \) \{ ans_rule(30) \} 42 END_TEXT 43 44 ###################################### 45 # Answer 46 47 $answer="(x^2 - $a)^2"; 48 ANS(FactoringEvaluator($answer,"x")); 49 50 $showPartialCorrectAnswers = 1; 51 52 ###################################### 53 54 55 COMMENT('MathObject version'); 56 ENDDOCUMENT(); 57
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |