[npl] / trunk / NationalProblemLibrary / Dartmouth / setStewartCh15S2 / problem_2.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/Dartmouth/setStewartCh15S2/problem_2.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (view) (download)

1 : jj 134 ## -*- perl -*- ##
2 :     ## Line above puts emacs in perl mode
3 :     ##
4 :     ## Description
5 :     ## This is a generic problem template
6 :     ## EndDescription
7 :    
8 :     DOCUMENT();
9 :     loadMacros("PG.pl",
10 :     "PGbasicmacros.pl",
11 :     "PGchoicemacros.pl",
12 :     "PGanswermacros.pl",
13 :     "PGauxiliaryFunctions.pl",
14 :     "PGgraphmacros.pl",
15 :     "Dartmouthmacros.pl");
16 :    
17 :    
18 :     ## Do NOT show partial correct answers
19 :     $showPartialCorrectAnswers = 0;
20 :    
21 :     $k = random(2,9)*non_zero_random(-1,1);
22 :    
23 :    
24 :    
25 :     ## Ok, we are ready to begin the problem...
26 :     ##
27 :     TEXT(beginproblem());
28 :    
29 :    
30 :     BEGIN_TEXT
31 :     $BR
32 :    
33 :     Find the limit
34 :     \[
35 :     \lim_{(x,y) \to (0, 0)}\frac{($k x + y)^2}{\{$k*$k\}x^2 + y^2}
36 :     \]
37 :     \{ans_rule()\} (Enter dne if the limit does not exist)
38 :     $PAR
39 :     END_TEXT
40 :    
41 :     ANS(str_cmp("dne"));
42 :    
43 :     ENDDOCUMENT();
44 :    
45 :    
46 :    
47 :    

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9