Parent Directory
|
Revision Log
Importing contents of CMA_Master
1 ##DESCRIPTION 2 ## Determine functions of time 3 ##ENDDESCRIPTION 4 5 ## DBsubject('Precalculus') 6 ## DBchapter('Relationships') 7 ## DBsection(‘Terminology’) 8 ## KEYWORDS(‘function', 'variable') 9 ## TitleText1('Calculus: Modeling & Application') 10 ## EditionText1('2') 11 ## AuthorText1('Smith & Moore') 12 ## Section1(‘1.3’) 13 ## Problem1('9') 14 ## Author('David Smith') 15 ## Institution('Duke') 16 ## Date(‘11/24/2008') 17 18 DOCUMENT(); 19 loadMacros( 20 "PGstandard.pl", 21 "MathObjects.pl", 22 "PGchoicemacros.pl", 23 ); 24 25 # make sure we're in the context we want 26 Context("Numeric")->flags->set( 27 tolerance => 0.1, 28 tolType => "absolute" 29 ); 30 31 # set up for a multiple choice problem. 32 $radio = new_multiple_choice(); 33 $radio->qa("Decide which of the following best describes the relationship between variables.", "‘Number of students absent’ is a function of ‘day of the academic year’."); 34 $radio->extra("‘Number of students absent’ is not a function of ‘time’.", "‘Day of the academic year’ is a function of ‘class’.", "‘Day of the academic year’ is a function of ‘number of students absent’."); 35 $radio->makeLast("None of the above."); 36 37 38 TEXT(beginproblem()); 39 Context()->texStrings; 40 BEGIN_TEXT 41 $PAR 42 Consider the number of students absent from class and the day of the academic year. 43 $PAR 44 \{ $radio->print_q() \} 45 \{ $radio->print_a() \} 46 END_TEXT 47 Context()->normalStrings; 48 49 ANS( radio_cmp( $radio->correct_ans() ) ); 50 51 ENDDOCUMENT(); 52 53 # This should be the last executable line in the problem. 54
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |