Parent Directory
|
Revision Log
Revision 197 - (view) (download)
| 1 : | jjholt | 156 | ## DESCRIPTION |
| 2 : | ## Calculus | ||
| 3 : | ## ENDDESCRIPTION | ||
| 4 : | jj | 134 | |
| 5 : | jjholt | 156 | ## KEYWORDS('continuous' 'set') |
| 6 : | ## Tagged by tda2d | ||
| 7 : | |||
| 8 : | ## DBsubject('Calculus') | ||
| 9 : | ## DBchapter('Partial Derivatives') | ||
| 10 : | ## DBsection('Limits and Continuity') | ||
| 11 : | ## Date('') | ||
| 12 : | ## Author('') | ||
| 13 : | ## Institution('Dartmouth') | ||
| 14 : | ## TitleText1('Calculus') | ||
| 15 : | ## EditionText1('5') | ||
| 16 : | ## AuthorText1('Stewart') | ||
| 17 : | ## Section1('15.2') | ||
| 18 : | ## Problem1('') | ||
| 19 : | |||
| 20 : | jj | 134 | DOCUMENT(); |
| 21 : | loadMacros("PG.pl", | ||
| 22 : | "PGbasicmacros.pl", | ||
| 23 : | "PGchoicemacros.pl", | ||
| 24 : | "PGanswermacros.pl", | ||
| 25 : | "PGauxiliaryFunctions.pl", | ||
| 26 : | "PGgraphmacros.pl", | ||
| 27 : | "Dartmouthmacros.pl"); | ||
| 28 : | |||
| 29 : | |||
| 30 : | ## Do NOT show partial correct answers | ||
| 31 : | $showPartialCorrectAnswers = 0; | ||
| 32 : | |||
| 33 : | $r = random(2, 20); | ||
| 34 : | |||
| 35 : | jjholt | 197 | $mc[1] = new_multiple_choice(); |
| 36 : | $mc[1]->qa('The largest set on which the function | ||
| 37 : | \(f(x,y) = 1/($r - x^2 - y^2)\) | ||
| 38 : | is continuous is:', | ||
| 39 : | 'All of the xy-plane except the circle \(x^2 + y^2 = $r\)' | ||
| 40 : | ); | ||
| 41 : | $mc[1]->extra( | ||
| 42 : | 'All of the xy-plane', | ||
| 43 : | 'The interior of the circle \(x^2 + y^2 = $r\)', | ||
| 44 : | 'The exterior of the circle \(x^2 + y^2 = $r\)', | ||
| 45 : | 'The interior of the circle \(x^2 + y^2 = $r\), plus the circle' | ||
| 46 : | ); | ||
| 47 : | |||
| 48 : | jj | 134 | ## Ok, we are ready to begin the problem... |
| 49 : | ## | ||
| 50 : | TEXT(beginproblem()); | ||
| 51 : | |||
| 52 : | BEGIN_TEXT | ||
| 53 : | jjholt | 197 | $PAR |
| 54 : | \{ $mc[1]->print_q() \} | ||
| 55 : | jj | 134 | |
| 56 : | jjholt | 197 | \{ $mc[1]->print_a() \} |
| 57 : | $PAR | ||
| 58 : | jj | 134 | |
| 59 : | END_TEXT | ||
| 60 : | |||
| 61 : | jjholt | 197 | ANS(radio_cmp($mc[1]->correct_ans)); |
| 62 : | jj | 134 | |
| 63 : | |||
| 64 : | jjholt | 197 | |
| 65 : | |||
| 66 : | jj | 134 | ENDDOCUMENT(); |
| 67 : | |||
| 68 : | |||
| 69 : | |||
| 70 : |
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |