Skip to content

Commit b986312

Browse files
fix latex
1 parent 0b34451 commit b986312

File tree

6 files changed

+101
-151
lines changed

6 files changed

+101
-151
lines changed

Task2/index.md

+56-106
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ a\\b: a右除b,即矩阵方程Xa=b的解
4343

4444
用矩阵除法解下列线性方程组,判断解的意义,并用矩阵乘法验算:
4545

46-
\(1\) $\begin{pmatrix}4 & 1 & - 1 \\\3 & 2 & - 6 \\\1 & - 5 & 3\end{pmatrix}\begin{pmatrix}x_{1} \\\x_{2} \\\x_{3}\end{pmatrix} = \begin{pmatrix}9 \\\ - 2 \\\1\end{pmatrix}$
46+
\(1\) $\begin{pmatrix}4 & 1 & - 1 \\\ 3 & 2 & - 6 \\\1 & - 5 & 3\end{pmatrix}\begin{pmatrix}x_{1} \\\x_{2} \\\x_{3}\end{pmatrix} = \begin{pmatrix}9 \\\ - 2 \\\1\end{pmatrix}$
4747

4848
定义函数:
4949

@@ -131,18 +131,7 @@ A*x
131131
>
132132
> ​ 1
133133
134-
\(3\) $\begin{pmatrix}
135-
4 & 1 \\\
136-
3 & 2 \\\
137-
1 & - 5
138-
\end{pmatrix}\begin{pmatrix}
139-
x_{1} \\\
140-
x_{2}
141-
\end{pmatrix} = \begin{pmatrix}
142-
1 \\\
143-
1 \\\
144-
1
145-
\end{pmatrix}$;
134+
\(3\) $\begin{pmatrix} 4 & 1 \\\ 3 & 2 \\\ 1 & - 5 \end{pmatrix}\begin{pmatrix} x_{1} \\\ x_{2} \end{pmatrix} = \begin{pmatrix} 1 \\\ 1 \\\ 1 \end{pmatrix}$;
146135

147136
代码:
148137

@@ -172,22 +161,7 @@ A*x
172161
>
173162
> 0.9404
174163
175-
\(4\) $\begin{pmatrix}\begin{matrix}2 & 1 \\\1 & 2 \\\1 & 1\end{matrix} & \begin{matrix}1 & 1 \\\
176-
1 & - 1 \\\
177-
2 & 1
178-
\end{matrix}
179-
\end{pmatrix}\left( \begin{array}{r}
180-
\begin{matrix}
181-
x_{1} \\\
182-
x_{2} \\\
183-
x_{3}
184-
\end{matrix} \\\
185-
x_{4}
186-
\end{array} \right) = \begin{pmatrix}
187-
1 \\\
188-
2 \\\
189-
3
190-
\end{pmatrix}$;
164+
\(4\) $\begin{pmatrix}\begin{matrix}2 & 1 \\\1 & 2 \\\1 & 1\end{matrix} & \begin{matrix}1 & 1 \\\ 1 & - 1 \\\ 2 & 1 \end{matrix} \end{pmatrix}\left( \begin{array}{r} \begin{matrix} x_{1} \\\ x_{2} \\\ x_{3} \end{matrix} \\\ x_{4} \end{array} \right) = \begin{pmatrix} 1 \\\ 2 \\\ 3 \end{pmatrix}$;
191165

192166
代码:
193167

@@ -225,35 +199,11 @@ A*x
225199

226200
求下列矩阵的行列式、逆、特征值和特征向量;
227201

228-
(1) $\begin{pmatrix}
229-
4 & 1 & - 1 \\\
230-
3 & 2 & - 6 \\\
231-
1 & - 5 & 3
232-
\end{pmatrix}$
233-
234-
(2) $\begin{pmatrix}1 & 1 & - 1 \\\0 & 2 & - 1 \\\- 1 & 2 & 0\end{pmatrix}$
235-
236-
(3) $\begin{pmatrix}
237-
\begin{matrix}
238-
\begin{matrix}
239-
5 & 7 \\\
240-
7 & 10
241-
\end{matrix} \\\
242-
\begin{matrix}
243-
6 & 8 \\\
244-
5 & 7
245-
\end{matrix}
246-
\end{matrix} & \begin{matrix}
247-
\begin{matrix}
248-
6 & 5 \\\
249-
8 & 7
250-
\end{matrix} \\\
251-
\begin{matrix}
252-
10 & 9 \\\
253-
9 & 10
254-
\end{matrix}
255-
\end{matrix}
256-
\end{pmatrix}$
202+
(1) $\begin{pmatrix} 4 & 1 & - 1 \\\ 3 & 2 & - 6 \\\ 1 & - 5 & 3 \end{pmatrix}$
203+
204+
(2) $\begin{pmatrix}1 & 1 & - 1 \\\ 0 & 2 & - 1 \\\ - 1 & 2 & 0\end{pmatrix}$
205+
206+
(3) $\begin{pmatrix}5&7&6&5\\\ 7&10&8&7\\\ 6&8&10&9\\\ 5&7&9&10\end{pmatrix}$
257207

258208
(1)代码:
259209

@@ -296,27 +246,27 @@ matrixProperties(A)
296246
>
297247
> 逆矩阵为:
298248
>
299-
> 0.2553 -0.0213 0.0426
249+
> 0.2553 -0.0213 0.0426
300250
>
301-
> 0.1596 -0.1383 -0.2234
251+
> 0.1596 -0.1383 -0.2234
302252
>
303-
> 0.1809 -0.2234 -0.0532
253+
> 0.1809 -0.2234 -0.0532
304254
>
305255
> 特征值为:
306256
>
307-
> -3.0527
257+
> -3.0527
308258
>
309-
> 3.6760
259+
> 3.6760
310260
>
311-
> 8.3766
261+
> 8.3766
312262
>
313263
> 特征向量为:
314264
>
315-
> 0.0185 -0.9009 -0.3066
265+
> 0.0185 -0.9009 -0.3066
316266
>
317-
> -0.7693 -0.1240 -0.7248
267+
> -0.7693 -0.1240 -0.7248
318268
>
319-
> -0.6386 -0.4158 0.6170
269+
> -0.6386 -0.4158 0.6170
320270
321271
(2)代码:
322272

@@ -331,27 +281,27 @@ matrixProperties(A)
331281
>
332282
> 逆矩阵为:
333283
>
334-
> 2.0000 -2.0000 1.0000
284+
> 2.0000 -2.0000 1.0000
335285
>
336-
> 1.0000 -1.0000 1.0000
286+
> 1.0000 -1.0000 1.0000
337287
>
338-
> 2.0000 -3.0000 2.0000
288+
> 2.0000 -3.0000 2.0000
339289
>
340290
> 特征值为:
341291
>
342-
> 1.0000 + 0.0000i
292+
> 1.0000 + 0.0000i
343293
>
344-
> 1.0000 + 0.0000i
294+
> 1.0000 + 0.0000i
345295
>
346-
> 1.0000 - 0.0000i
296+
> 1.0000 - 0.0000i
347297
>
348298
> 特征向量为:
349299
>
350-
> 0.5774 + 0.0000i 0.5773 + 0.0000i 0.5773 - 0.0000i
300+
> 0.5774 + 0.0000i 0.5773 + 0.0000i 0.5773 - 0.0000i
351301
>
352-
> 0.5774 + 0.0000i 0.5773 + 0.0000i 0.5773 - 0.0000i
302+
> 0.5774 + 0.0000i 0.5773 + 0.0000i 0.5773 - 0.0000i
353303
>
354-
> 0.5773 + 0.0000i 0.5774 + 0.0000i 0.5774 + 0.0000i
304+
> 0.5773 + 0.0000i 0.5774 + 0.0000i 0.5774 + 0.0000i
355305
356306
(3)代码:
357307

@@ -364,33 +314,33 @@ matrixProperties(A)
364314
>
365315
> 逆矩阵为:
366316
>
367-
> 68.0000 -41.0000 -17.0000 10.0000
317+
> 68.0000 -41.0000 -17.0000 10.0000
368318
>
369319
> -41.0000 25.0000 10.0000 -6.0000
370320
>
371321
> -17.0000 10.0000 5.0000 -3.0000
372322
>
373-
> 10.0000 -6.0000 -3.0000 2.0000
323+
> 10.0000 -6.0000 -3.0000 2.0000
374324
>
375325
> 特征值为:
376326
>
377-
> 0.0102
327+
> 0.0102
378328
>
379-
> 0.8431
329+
> 0.8431
380330
>
381-
> 3.8581
331+
> 3.8581
382332
>
383-
> 30.2887
333+
> 30.2887
384334
>
385335
> 特征向量为:
386336
>
387-
> 0.8304 0.0933 0.3963 0.3803
337+
> 0.8304 0.0933 0.3963 0.3803
388338
>
389-
> -0.5016 -0.3017 0.6149 0.5286
339+
> -0.5016 -0.3017 0.6149 0.5286
390340
>
391-
> -0.2086 0.7603 -0.2716 0.5520
341+
> -0.2086 0.7603 -0.2716 0.5520
392342
>
393-
> 0.1237 -0.5676 -0.6254 0.5209
343+
> 0.1237 -0.5676 -0.6254 0.5209
394344
395345
## 4(课本习题7)
396346

@@ -438,19 +388,19 @@ diagonalizeMatrix(A)
438388
>
439389
> 对角矩阵为:
440390
>
441-
> -3.0527 0 0
391+
> -3.0527 0 0
442392
>
443393
> ​ 0 3.6760 0
444394
>
445395
> ​ 0 0 8.3766
446396
>
447397
> 相似变换矩阵为:
448398
>
449-
> 0.0185 -0.9009 -0.3066
399+
> 0.0185 -0.9009 -0.3066
450400
>
451-
> -0.7693 -0.1240 -0.7248
401+
> -0.7693 -0.1240 -0.7248
452402
>
453-
> -0.6386 -0.4158 0.6170
403+
> -0.6386 -0.4158 0.6170
454404
455405
(2)代码:
456406

@@ -478,7 +428,7 @@ diagonalizeMatrix(A)
478428
>
479429
> 对角矩阵为:
480430
>
481-
> 0.0102 0 0 0
431+
> 0.0102 0 0 0
482432
>
483433
> ​ 0 0.8431 0 0
484434
>
@@ -488,13 +438,13 @@ diagonalizeMatrix(A)
488438
>
489439
> 相似变换矩阵为:
490440
>
491-
> 0.8304 0.0933 0.3963 0.3803
441+
> 0.8304 0.0933 0.3963 0.3803
492442
>
493-
> -0.5016 -0.3017 0.6149 0.5286
443+
> -0.5016 -0.3017 0.6149 0.5286
494444
>
495-
> -0.2086 0.7603 -0.2716 0.5520
445+
> -0.2086 0.7603 -0.2716 0.5520
496446
>
497-
> 0.1237 -0.5676 -0.6254 0.5209
447+
> 0.1237 -0.5676 -0.6254 0.5209
498448
499449
## 5(课本习题9)
500450

@@ -556,13 +506,13 @@ vectorProperties(A);
556506
>
557507
> 最大线性无关组为:
558508
>
559-
> 4 2 3
509+
> 4 2 3
560510
>
561-
> -3 -1 -2
511+
> -3 -1 -2
562512
>
563-
> 1 3 3
513+
> 1 3 3
564514
>
565-
> 3 5 4
515+
> 3 5 4
566516
>
567517
> a3用该最大无关组线性表示为
568518
>
@@ -589,23 +539,23 @@ A = [1 -2 2;-2 -2 4;2 4 -2]
589539

590540
> A = 3×3
591541
>
592-
> 1 -2 2
542+
> 1 -2 2
593543
>
594-
> -2 -2 4
544+
> -2 -2 4
595545
>
596-
> 2 4 -2
546+
> 2 4 -2
597547
>
598548
> Q = 3×3
599549
>
600-
> 0.3333 0.8944 -0.2981
550+
> 0.3333 0.8944 -0.2981
601551
>
602-
> 0.6667 -0.4472 -0.5963
552+
> 0.6667 -0.4472 -0.5963
603553
>
604-
> -0.6667 0 -0.7454
554+
> -0.6667 0 -0.7454
605555
>
606556
> D = 3×3
607557
>
608-
> -7.0000 0 0
558+
> -7.0000 0 0
609559
>
610560
> ​ 0 2.0000 0
611561
>

Task3/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ title('马鞍面'); % 给图形添加标题
442442
```
443443

444444
输出:
445-
<div class="image-container">
445+
<div class="image-container" id="fitPhone">
446446
<img src="https://pic.wang1m.tech/uploads/2404/661e4b9d8b015.png" alt="image-20240416175749315" style="zoom: 67%;" />
447447
<img src="https://pic.wang1m.tech/uploads/2404/661e4ba7702fc.png" alt="image-20240416175759049" style="zoom: 67%;" />
448448
</div>

Task4/index.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ factor(f)
2323
2424
## 2(课本习题3)
2525

26-
求矩阵$A = \begin{pmatrix}
27-
1 & 2 \\\
28-
2 & a
29-
\end{pmatrix}$的逆和特征值.
26+
求矩阵$A = \begin{pmatrix}1 & 2 \\\ 2 & a \end{pmatrix}$的逆和特征值.
3027

3128
代码:
3229

@@ -46,9 +43,9 @@ e = eig(A)
4643

4744
计算极限
4845

49-
$
46+
$$
5047
\lim_{x \rightarrow \infty}\left( 3^{x} + 9^{x} \right)^{\frac{1}{x}},\lim_{y \rightarrow 0^{+}}{\lim_{x \rightarrow 0^{+}}\frac{\ln{(2x + e^{- y})}}{\sqrt{x^{3} + y^{2}}}},\\\ \lim_{x \rightarrow \infty}\frac{\ln{(1 + \frac{1}{x})}}{arccot \, x},\lim_{x \rightarrow 0}\frac{1 - \sqrt{1 - x^{2}}}{e^{x} - \cos x}
51-
$
48+
$$
5249

5350
代码:
5451

@@ -119,7 +116,8 @@ s=subs(s,{x,y,z},{1,1,3})
119116

120117
(Taylor展开)求下列函数在$x = 0$的Taylor幂级数展开式(n=8):
121118

122-
$$e^{x},\ \ \ln{(1 + x)},\ \ \sin x,\ \ \ln{(x + \sqrt{1 + x^{2}})},\ \ \frac{1}{x^{2} - 3x + 2}.$$
119+
$$e^{x}, \ln{(1 + x)}, \sin x,$$
120+
$$\ln{(x + \sqrt{1 + x^{2}})}, \frac{1}{x^{2} - 3x + 2}.$$
123121

124122
输出:
125123

0 commit comments

Comments
 (0)