Parent Directory
|
Revision Log
New problems for the library.
1 ## DESCRIPTION 2 ## Algebra 3 ## ENDDESCRIPTION 4 5 ## KEYWORDS('Algebra', 'lines') 6 ## Tagged by LD 7 8 ## DBsubject('Algebra') 9 ## DBchapter('equations') 10 ## DBsection('linear') 11 ## Date('') 12 ## Author('') 13 ## Institution('ASU') 14 ## TitleText1('') 15 ## EditionText1('') 16 ## AuthorText1('') 17 ## Section1('') 18 ## Problem1('') 19 20 DOCUMENT(); # This should be the first executable line in the problem. 21 22 loadMacros( 23 "PG.pl", 24 "PGbasicmacros.pl", 25 "PGchoicemacros.pl", 26 "PGanswermacros.pl", 27 "PGauxiliaryFunctions.pl" 28 ); 29 30 TEXT(&beginproblem); 31 $showPartialCorrectAnswers = 1; 32 33 $x1 = random(5,8,1); 34 $y1 = random(2,7,1); 35 $m1 = random(2,5,1); 36 37 TEXT(EV2(<<EOT)); 38 The equation of the line with slope \($m1 \) that goes through the point 39 \( ( $x1 ,$y1 ) \) can be written in the form \( y = mx+b \) where 40 $PAR 41 \( m = \) \{ans_rule(20) \} 42 $BR 43 EOT 44 45 $ans = $m1; 46 &ANS(std_num_cmp($ans)); 47 48 TEXT(EV2(<<EOT)); 49 \( b = \) \{ans_rule(20) \} 50 $BR 51 EOT 52 53 $ans = $y1 -$m1*$x1; 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 |