Parent Directory
|
Revision Log
Initial import.
1 ##DESCRIPTION 2 ##KEYWORDS('algebra','aritmetic sequences') 3 ## 4 ##ENDDESCRIPTION 5 6 DOCUMENT(); # This should be the first executable line in the problem. 7 8 loadMacros( 9 "PG.pl", 10 "PGbasicmacros.pl", 11 "PGchoicemacros.pl", 12 "PGanswermacros.pl", 13 "PGgraphmacros.pl" 14 ); 15 16 TEXT(beginproblem()); 17 $showPartialCorrectAnswers = 1; 18 19 $a = random(-10,10,1); 20 $d = non_zero_random(-5,5,1); 21 $n = random(4,13,1); 22 $a2 = $a+$d; 23 $a3 = $a+2*$d; 24 $an = $a+($n-1)*$d; 25 26 27 BEGIN_TEXT 28 29 Find the \( $n^{th} \) term of the arithmetic sequence 30 $PAR 31 \( $a , $a2 , $a3 , ...\) 32 33 34 Answer: \{ans_rule(10)\} 35 36 END_TEXT 37 38 ANS(num_cmp($an, mode=>"arith")); 39 40 ENDDOCUMENT(); # This should be the last executable line in the problem.
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |