Debian Codegraph @

texmf-dist/doc/latex/jnuexam/examfe-a-answer.tex

raw
1 % -*- coding: utf-8 -*-
2 % !TEX program = xelatex
3 \documentclass[english]{jnuexam} % 英文试卷
4
5 %\SetExamBoolFalse{answer} % hide answers
6
7 \SetExamOption{
8 binding = 1, % 装订线,1 仅空白试卷有,2 试卷和答案都有
9 scratch = 1, % 草稿纸数量,仅空白试卷有,A3 大小,双面印刷
10 seed = 19061116, % 随机数种子,用于改变 B 卷小题的随机顺序
11 }
12
13 \begin{document}
14
15 % make exam title
16 \examtitle{
17 AcademicYear = 2016--2017, % 教学年度
18 Semester = 2, % 第几学期
19 CourseTitle = Math 1906, % 课程名称
20 Instructor = {Jianrui Lyu}, % 教师姓名
21 Date = dd/mm/yyyy, % 考试时间
22 Compulsory = 1, % 是否必修:1 为必修,0 为选修
23 ClosedBook = 1, % 是否闭卷:1 为闭卷,0 为开卷
24 Paper = A, % 试卷版本:A 或 B 或 C 卷
25 Mainland = 0, % 内招适用:1 打勾,0 不勾
26 NonMainland = 1, % 外招适用:1 打勾,0 不勾
27 }
28
29 \gradetable[total=4]
30
31 \exampart{Fill in the blanks.}[6 questions; 3 points for each; 18 points in total.]
32
33 % make answer table: six in total, three for each row, strut height 3em
34 \answertable[total=6,column=3,strut=3em]
35
36 \begin{question}
37 The first question $k>0$, text $f(x)=\ln x-\frac{x}{\e}+k$ text $(0,+\infty)$
38 text text text text text text text text text text text text text text text text
39 text text text text text text text text text text text text text \fillout{$2$}.
40 \end{question}
41
42 \bigskip
43
44 \begin{question}
45 The second question $\va=(2,1,2)$, $\vb=(4,-1,10)$, $\vc=\vb-\lambda\va$,
46 text text text $\va\bot\vc$, text text text text text text text text text
47 text text text text text $\lambda=$ \fillout{$3$}.
48 \end{question}
49
50 \bigskip
51
52 \begin{question}
53 The third question $\left|\begin{array}{cc}
54 1 & 2\\
55 -3 & x
56 \end{array}\right|=0$, text text text text text text text text
57 text text text text text text text text text $x=$ \fillout{$-6$}.
58 \end{question}
59
60 \bigskip
61
62 \begin{question}
63 The fourth question $\alpha_1=(1,1,0), \alpha_2=(0,1,1), \alpha_3=(1,0,1)$,
64 text $\beta=(4, 5, 3)$ text $\alpha_1, \alpha_2, \alpha_3$ text text text text
65 text text text text text text text text text text text text text text text text
66 text text text text text text $\beta=$ \fillout{$3\alpha_1+2\alpha_2+\alpha_3$}.
67 \end{question}
68
69 \bigskip
70
71 \begin{question}%[points=3]
72 The fifth question $\xi$ text text text $E\xi=3, D\xi=2$, text text text text text
73 text text text text text text text text text text $E\xi^2=$ \fillout{$11$}.
74 \end{question}
75
76 \bigskip
77
78 \begin{question}
79 The sixth question $\xi$ text text text text $\eta$ text text text text $\xi\sim N(1,4),
80 \eta\sim N(2,5)$, text text text text text text text text text text text text text text
81 text text text text text text text text text text $\xi-2\eta\sim$ \fillout{$N(-3,24)$}.
82 \end{question}
83
84 \bigskip
85
86 \newpage
87
88 \exampart{Select one answer from four choices.}[6 questions; 3 points for each; 18 points in total.]
89
90 % make answer table: six in total, six for each row, default strut height
91 \answertable[total=6,column=6]
92
93 \begin{question}
94 The first question text, text text text text text text text text text text
95 text text text text text text text text text text text text text \pickout{C}
96 \begin{abcd}
97 \item first $\int f'(x)\dx=f(x)$
98 \item second $\int \d f(x)=f(x)$
99 \item third $\frac{\d}{\dx}\big(\int f(x)\dx\big)=f(x)$
100 \item fourth $\d\big(\int f(x)\dx\big)=f(x)$
101 \end{abcd}
102 \end{question}
103
104 \bigskip
105
106 \begin{question}
107 The second question $F(x)$ text $f(x)$ text, text \pickout{A}
108 \begin{abcd}
109 \item first choice $F(x)$ text $\Leftrightarrow$ $f(x)$ text
110 \item second choice $F(x)$ text text $\Leftrightarrow$ $f(x)$ text
111 \item third choice $F(x)$ text $\Leftrightarrow$ $f(x)$ text text
112 \item fourth choice $F(x)$ text text $\Leftrightarrow$ $f(x)$ text text
113 \end{abcd}
114 \end{question}
115
116 \bigskip
117
118 \begin{question}
119 The third question $A = \left(\begin{array}{ccc}
120 1 & 1 & 0\\
121 1 & x & 0\\
122 0 & 0 & 1
123 \end{array}\right)$ text text $\lambda_1 = 1$ text $\lambda_2
124 = 2$, text $x=$ \pickout{B}
125 \begin{abcd}
126 \item $2$
127 \item $1$
128 \item $0$
129 \item $-1$
130 \end{abcd}
131 \end{question}
132
133 \bigskip
134
135 \begin{question}
136 The fourth question $f = 4 x_1^2 - 2 x_1 x_2 + 6 x_2^2$ text text text text text text
137 text text text text text text text text text text text text text text text \pickout{C}
138 \begin{abcd}
139 \item $\left(\begin{array}{cc}
140 4 & - 2\\
141 - 2 & 6
142 \end{array}\right)$
143 \item $\left(\begin{array}{cc}
144 2 & - 2\\
145 - 2 & 3
146 \end{array}\right)$
147 \item $\left(\begin{array}{cc}
148 4 & - 1\\
149 - 1 & 6
150 \end{array}\right)$
151 \item $\left(\begin{array}{cc}
152 2 & - 1\\
153 - 1 & 3
154 \end{array}\right)$
155 \end{abcd}
156 \end{question}
157
158 \bigskip
159
160 \begin{question}
161 The fifth question \underline{wrong} text \pickout{B}
162 \begin{abcd}
163 \item first choice text text text text text text text text text
164 \item second choice text text text text text text text text text
165 \item third choice text text text text text text text text text
166 \item fourth choice text text text text text text text text text
167 \end{abcd}
168 \end{question}
169
170 \bigskip
171
172 \begin{question}
173 The sixth question $X$ text $(X_1,\cdots,X_n)$ text \underline{wrong} text text
174 text text text text text text text text text text text text text text \pickout{D}
175 \begin{abcd}
176 \item text text text
177 \item text $n$ text
178 \item $X_1, \cdots, X_n$ text
179 \item $X_1 = X_2 =\cdots = X_n$
180 \end{abcd}
181 \end{question}
182
183 \bigskip
184
185 \newpage
186
187 \exampart{Work out math questions.}[6 questions; 8 points for each; 48 points in total.]
188
189 \begin{question}
190 The first question $\int\e^{2x}\,(\tan x+1)^2\dx$.
191 \end{question}
192
193 \smallskip
194
195 \begin{solution}
196 $I$ \? $=\int\e^{2x}\,\sec^2 x\dx+2\int\e^{2x}\,\tan x\dx$ \points{2}
197 \+ $=\int\e^{2x}\,\d(\tan x)+ 2\int\e^{2x}\,\tan x\dx$ \points{4}
198 \+ $=\e^{2x}\,\tan x - 2\int\e^{2x}\,\tan x\dx+ 2\int\e^{2x}\,\tan x\dx$ \points{6}
199 \+ $=\e^{2x}\,\tan x + C$ \points{8}
200 \end{solution}
201
202 \vfill
203
204 \begin{question}
205 The second question $A(1,2,-1), B(2,3,0),C(3,3,2)$ text $\triangle ABC$ text text text text text text.
206 \end{question}
207
208 \smallskip
209
210 \begin{solution}
211 Text $\overrightarrow{AB}=(1,1,1),\overrightarrow{AC}=(2,1,3)$, \points{2}
212 text $\overrightarrow{AB}\times \overrightarrow{AC}=\begin{vmatrix}
213 \vec{i}&\vec{j} &\vec{k}\\
214 1&1&1\\
215 2&1&3\\
216 \end{vmatrix}=(2,-1,-1)$, \points{4}
217 text $\triangle ABC$ text $S_{\triangle ABC}=\frac{1}{2}\big|\overrightarrow{AB}\times
218 \overrightarrow{AC}\big|=\frac{1}{2}\sqrt{6}.$ \points{6}
219 Text text $2(x-2)-(y-3)-z=0$, text $2x-y-z-1=0$. \points{8}
220 \end{solution}
221
222 \vfill
223
224 \newpage
225
226 \begin{question}
227 The third question $A = \left|\begin{array}{cccc}
228 0 & 1 & 2 & 3\\
229 1 & 2 & 3 & 0\\
230 2 & 3 & 0 & 1\\
231 3 & 0 & 1 & 2
232 \end{array}\right|$ text.
233 \end{question}
234
235 \smallskip
236
237 \begin{solution}
238 $A \? = \left|\begin{array}{cccc}
239 0 & 1 & 2 & 3\\
240 1 & 2 & 3 & 0\\
241 2 & 3 & 0 & 1\\
242 3 & 0 & 1 & 2
243 \end{array}\right| = \left|\begin{array}{cccc}
244 0 & 1 & 2 & 3\\
245 1 & 2 & 3 & 0\\
246 0 & - 1 & - 6 & 1\\
247 0 & - 6 & - 8 & 2
248 \end{array}\right| = 1 \cdot (- 1)^{2 + 1} \left|\begin{array}{ccc}
249 1 & 2 & 3\\
250 - 1 & - 6 & 1\\
251 - 6 & - 8 & 2
252 \end{array}\right|$ \points{4}
253 \+ $= -\left|\begin{array}{ccc}
254 1 & 2 & 3\\
255 0 & - 4 & 4\\
256 0 & 4 & 20
257 \end{array}\right| = - \left|\begin{array}{cc}
258 - 4 & 4\\
259 4 & 20
260 \end{array}\right| = -(-4\cdot20-4\cdot4) = 96$ \points{8}
261 \end{solution}
262
263 \vfill
264
265 \begin{question}
266 The fourth question, tex text $f = x_1^2 + 2 x_1 x_2 - 6 x_1 x_3 + 2 x_2^2 - 12
267 x_2 x_3 + 9 x^2_3$ text text $f = d_1 y^2_1 + d_2 y^2_2 + d_3 y^2_3$.
268 \end{question}
269
270 \smallskip
271
272 \begin{solution}
273 $f \? = x_1^2 + 2 x_1 x_2 - 6 x_1 x_3 + 2 x_2^2 - 12 x_2 x_3 + 9 x^2_3$ \par
274 \+ $= x_1^2 + 2 x_1 (x_2 - 3 x_3) + (x_2 - 3 x_3)^2 + x_2^2 - 6 x_2 x_3 $ \par
275 \+ $= (x_1 + x_2 - 3 x_3)^2 + x_2^2 - 6 x_2 x_3$ \points{3}
276 \+ $= (x_1 + x_2 - 3 x_3)^2 + x_2^2 - 2 x_2 \cdot 3 x_3 + (3 x_3)^2 - 9x_3^2$ \par
277 \+ $= (x_1 + x_2 - 3 x_3)^2 + (x_2 - 3 x_3)^2 - 9 x_3^2$ \points{6}
278 Text $y_1 = x_1 + x_2 - 3 x_3, y_2 = x_2 - 3 x_3, y_3 = x_3$, \newline
279 text $f = y_1^2 + y_2^2 - 9y_3^2$ text.\points{8}
280 \end{solution}
281
282 \vfill
283
284 \newpage
285
286 \begin{question}
287 The fifth question text text text $0.2$ text text, text text $100$ text text.\par
288 (1) text text text text text text $\xi$ text $10$ text $30$ text.\par
289 (2) text text text text text $\xi$ text $10$ text $30$ text.
290 \end{question}
291
292 \smallskip
293
294 \begin{solution}
295 $E\xi = n p = 100 \cdot 0.2 = 20, D\xi = n p q = 100 \cdot 0.2 \cdot 0.8 = 16$. \points{2}
296 (1) $P (10 < \xi < 30) = P (|\xi - E\xi| < 10) \ge 1 - \frac{D\xi}{10^2}
297 = 1 - \frac{16}{100} = 0.84$. \points{4}
298 (2) $P (10 < \xi < 30) \? \approx \Phi_0\left(\frac{30 - 20}{\sqrt{16}}\right)
299 - \Phi_0\left(\frac{10 - 20}{\sqrt{16}}\right)$ \points{6}
300 \+ $= 2 \Phi_0(2.5) - 1 = 2 \cdot 0.9938 - 1 =0.9876$ \points{8}
301 \end{solution}
302
303 \vfill
304
305 \begin{question}
306 The sixth question $N(\mu,\sigma^2)$ text text $16$ text, text text text $3160$, text text $100$.
307 Text text $H_0:\mu=3140$ text text ($\alpha = 0.01$).
308 \end{question}
309
310 \smallskip
311
312 \begin{solution}
313 (1) Text text $H_0 : \mu = 3140$. \points{2}
314 (2) Text text text $T = \frac{\widebar{X}-\mu}{S / \sqrt{n}} \sim t(n-1)$. \points{3}
315 (3) Text text $t_{\alpha} = t_{\alpha} (n - 1) = t_{0.01} (15) =2.947$. \points{5}
316 (4) Text text text $t = \frac{\widebar{x} - \mu_0}{s/\sqrt{n}} =\frac{3160-3140}{100/4} = 0.8$.\points{7}
317 (5) Text $| t | < t_{\alpha}$, text text $H_0$, text text text. \points{8}
318 \end{solution}
319
320 \vfill
321
322 \newpage
323
324 \exampart{Work out math proofs.}[2 questions; 16 points in total.]
325
326 \SetExamTranslation{solution-Solution=Proof} % rename "Solution" as "Proof"
327
328 \begin{question}[points=9]
329 The first question $\{x_n\}$ text $x_1=\sqrt2$, $x_{n+1}=\sqrt{2+x_n}$.
330 Text text text, text text text.
331 \end{question}
332
333 \smallskip
334
335 \begin{solution}
336 (1) Text, text $x_1<2$, text $x_k<2$ text
337 $$x_{k+1}=\sqrt{2+x_k}<\sqrt{2+2}=2,$$
338 Text text text text text $n$ text $x_n<2$, text text text.
339 Text text
340 $$\frac{x_{n+1}}{x_n}=\sqrt{\frac{2}{x_n^2}+\frac{1}{x_n}}>\sqrt{\frac{2}{2^2}+\frac{1}{2}}=1,$$
341 Text text text text text. Text text text text text, Text text text text.\points{4}
342 (2) Text text text text $A$, text text text text text text
343 $$A=\sqrt{2+A}.$$
344 Text text $A=2$, text text $\{x_n\}$ text text text $2$.\points{8}
345 \end{solution}
346
347 \vfill
348
349 \begin{question}[points=7]
350 The second question $A$ text $B$ text, text $A$ text $\widebar{B}$ text.
351 \end{question}
352
353 \smallskip
354
355 \begin{solution}
356 \? $P (A \cdot \widebar{B}) = P (A - B) = P (A - A B)$ \points{2}
357 \< $= P (A) - P (A B) = P (A) - P (A) P (B)$ \points{4}
358 \< $= P (A) (1 - P (B)) = P (A) P (\widebar{B})$ \points{6}
359 Text text text $A$ text text text $\widebar{B}$ text text text.\points{8}
360 \end{solution}
361
362 \vfill
363
364 \examdata{Some data may be used in the exam} % appendix data
365
366 \begin{tabularx}{\linewidth}{*{4}{>{$}X<{$}}}
367 \hline
368 \Phi_0(0.5)=0.6915 & \Phi_0(1)=0.8413 & \Phi_0(2)=0.9773 & \Phi_0(2.5)=0.9938 \\
369 t_{0.01}(8)=3.355 & t_{0.01}(9)=3.250 & t_{0.01}(15)=2.947 & t_{0.01}(16)=2.921 \\
370 \chi_{0.005}^2(8)=22.0 & \chi_{0.005}^2(9)=23.6 & \chi_{0.005}^2(15)=32.8 & \chi_{0.005}^2(16)=34.3 \\
371 \chi_{0.995}^2(8)=1.34 & \chi_{0.995}^2(9)=1.73 & \chi_{0.995}^2(15)=4.60 & \chi_{0.995}^2(16)=5.14 \\
372 \hline
373 \end{tabularx}
374
375 \end{document}